#CFAC21

A color in the Yellow, Gold family

#cfac21 is a color in the Yellow, Gold family: RGB(207, 172, 33), HSL(48°, 73%, 47%), CMYK(0%, 17%, 84%, 19%). Closest named color: goldenrod. Contrast is 2.19:1 on white and 9.58:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#cfac21
RGBrgb(207 172 33)
RGB (legacy)rgb(207, 172, 33)
RGB %rgb(81% 67% 13%)
HSLhsl(48 73% 47%)
HSV / HSBhsv(48, 84%, 81%)
HWBhwb(48 13% 19%)
CMYKcmyk(0%, 17%, 84%, 19%)
CIELAB (D50)lab(71.93 3.93 68.3)
LCHlch(71.93 68.42 86.7)
OKLaboklab(0.7542 -0.0083 0.1466)
OKLCHoklch(0.7542 0.1469 93.22)
Decimal13610017

Properties

Color ToneYellow, Gold
Closest named colorgoldenrod ΔE 2.4
Closest web-safe color#cc9933
Hue48°
Saturation (HSL / HSV)73% / 84%
Lightness (HSL)47%
Brightness or Value (HSV)81%
Luminance (Rec.601 / Rec.709)65% / 66%
Relative luminance (WCAG)0.4288
Red / Green / Blue207 / 172 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.19:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.58: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 43 / -59.2 · As background with white / black text: Lc -47.7 / 61

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: #cfac21;
  --color-brand-oklch: oklch(75.42% 0.1469 93.22);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(207 172 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cfac21] text-[#cfac21] border-[#cfac21]">