#CFBD47#CFBD47

#CFBD47 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.2% C 0.137 H 100.6°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#CFBD47
RGBrgb(207, 189, 71)
HSLhsl(52, 59%, 55%)
HSVhsv(52, 66%, 81%)
CMYKcmyk(0%, 8.7%, 65.7%, 18.8%)
CIE-LABlab(76.14, -7.26, 59.73)
CIE-LCHlch(76.14, 60.17, 96.93°)
OKLaboklab(79.19% -0.0252 0.1349)
OKLCHoklch(79.19% 0.137 100.6)
XYZxyz(45.0690, 50.1175, 13.2597)
Luminance0.5012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBD47 #4759CF
analogous
#CF7947 #CFBD47 #9DCF47
triadic
#CFBD47 #47CFBD #BD47CF
tetradic
#CFBD47 #47CF79 #4759CF #CF479D
square
#CFBD47 #47CF79 #4759CF #CF479D
split-complementary
#CFBD47 #479DCF #7947CF
monochromatic
#7B6F20 #AC9B2D #CFBD47 #DCCE78 #E8E0A8

Accessibility & contrast

On white

1.91
#CFBD47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#CFBD47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBD47
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBD47#FFFFFF#000000##000000
##CFBD471.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB838
Deuteranopia (green-blind)
#D3BF4E
Tritanopia (blue-blind)
#DEB0A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbd47;
/* rgb */ color: rgb(207, 189, 71);
/* oklch */ color: oklch(79.2% 0.137 100.6);
Tailwind
colors: {
  custom: {
    50: '#e1d080',
    500: '#cfbd47',
    950: '#000000',
  },
}
SCSS
$custom: #cfbd47;
$custom-light: #e1d080;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbd47",
  "rgb": {
    "r": 207,
    "g": 189,
    "b": 71
  },
  "hsl": {
    "h": 52.059,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.79185,
    "c": 0.13725,
    "h": 100.6
  },
  "luminance": 0.50116
}

Semantic roles & 50–950 ramp

primary
#CFBD47
secondary
#374183
accent
#5BE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #CFBD47

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CFBD47 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva