#ACAF21

A color in the Yellow, Gold family

#acaf21 is a color in the Yellow, Gold family: RGB(172, 175, 33), HSL(61°, 68%, 41%), CMYK(2%, 0%, 81%, 31%). Closest named color: darkkhaki. Contrast is 2.36:1 on white and 8.91:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#acaf21
RGBrgb(172 175 33)
RGB (legacy)rgb(172, 175, 33)
RGB %rgb(67% 69% 13%)
HSLhsl(61 68% 41%)
HSV / HSBhsv(61, 81%, 69%)
HWBhwb(61 13% 31%)
CMYKcmyk(2%, 0%, 81%, 31%)
CIELAB (D50)lab(69.47 -12.71 64.72)
LCHlch(69.47 65.96 101.11)
OKLaboklab(0.7282 -0.054 0.1414)
OKLCHoklch(0.7282 0.1513 110.92)
Decimal11317025

Properties

Color ToneYellow, Gold
Closest named colordarkkhaki ΔE 6.8
Closest web-safe color#999933
Hue61°
Saturation (HSL / HSV)68% / 81%
Lightness (HSL)41%
Brightness or Value (HSV)69%
Luminance (Rec.601 / Rec.709)62% / 64%
Relative luminance (WCAG)0.3954
Red / Green / Blue172 / 175 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.36:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.91:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 46.3 / -55.7 · As background with white / black text: Lc -51.3 / 57.7

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #acaf21;
  --color-brand-oklch: oklch(72.82% 0.1513 110.92);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(172 175 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#acaf21] text-[#acaf21] border-[#acaf21]">