#CFB520

A color in the Yellow, Gold family

#cfb520 is a color in the Yellow, Gold family: RGB(207, 181, 32), HSL(51°, 73%, 47%), CMYK(0%, 13%, 85%, 19%). Closest named color: goldenrod. Contrast is 2.04:1 on white and 10.28:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#cfb520
RGBrgb(207 181 32)
RGB (legacy)rgb(207, 181, 32)
RGB %rgb(81% 71% 13%)
HSLhsl(51 73% 47%)
HSV / HSBhsv(51, 85%, 81%)
HWBhwb(51 13% 19%)
CMYKcmyk(0%, 13%, 85%, 19%)
CIELAB (D50)lab(74.25 -0.58 70.37)
LCHlch(74.25 70.38 90.47)
OKLaboklab(0.7727 -0.0217 0.1513)
OKLCHoklch(0.7727 0.1528 98.18)
Decimal13612320

Properties

Color ToneYellow, Gold
Closest named colorgoldenrod ΔE 4.3
Closest web-safe color#cccc33
Hue51°
Saturation (HSL / HSV)73% / 85%
Lightness (HSL)47%
Brightness or Value (HSV)81%
Luminance (Rec.601 / Rec.709)67% / 69%
Relative luminance (WCAG)0.4642
Red / Green / Blue207 / 181 / 32

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.04:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.28: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 39.6 / -62.8 · As background with white / black text: Lc -44.1 / 64.4

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: #cfb520;
  --color-brand-oklch: oklch(77.27% 0.1528 98.18);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(207 181 32 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cfb520] text-[#cfb520] border-[#cfb520]">