#D4CF52#D4CF52

#D4CF52 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.5% C 0.145 H 107.0°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#D4CF52
RGBrgb(212, 207, 82)
HSLhsl(58, 60%, 58%)
HSVhsv(58, 61%, 83%)
CMYKcmyk(0%, 2.4%, 61.3%, 16.9%)
CIE-LABlab(81.42, -13.64, 60.85)
CIE-LCHlch(81.42, 62.36, 102.64°)
OKLaboklab(83.51% -0.0424 0.1388)
OKLCHoklch(83.51% 0.145 107)
XYZxyz(50.9889, 59.2335, 16.7283)
Luminance0.5923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF52 #5257D4
analogous
#D48E52 #D4CF52 #98D452
triadic
#D4CF52 #52D4CF #CF52D4
tetradic
#D4CF52 #52D48E #5257D4 #D45298
square
#D4CF52 #52D48E #5257D4 #D45298
split-complementary
#D4CF52 #5298D4 #8E52D4
monochromatic
#898522 #BAB52E #D4CF52 #E0DD83 #ECEAB4

Accessibility & contrast

On white

1.63
#D4CF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#D4CF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CF52
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CF52#FFFFFF#000000##000000
##D4CF521.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC843
Deuteranopia (green-blind)
#E2CD59
Tritanopia (blue-blind)
#E2C2B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cf52;
/* rgb */ color: rgb(212, 207, 82);
/* oklch */ color: oklch(83.5% 0.145 107.0);
Tailwind
colors: {
  custom: {
    50: '#e4dd88',
    500: '#d4cf52',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf52;
$custom-light: #e4dd88;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf52",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 57.692,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83512,
    "c": 0.14511,
    "h": 107
  },
  "luminance": 0.59232
}

Semantic roles & 50–950 ramp

primary
#D4CF52
secondary
#3B3E90
accent
#4BE344
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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