#D4CE4F#D4CE4F

#D4CE4F is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.3% C 0.146 H 106.6°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#D4CE4F
RGBrgb(212, 206, 79)
HSLhsl(57, 61%, 57%)
HSVhsv(57, 63%, 83%)
CMYKcmyk(0%, 2.8%, 62.7%, 16.9%)
CIE-LABlab(81.13, -13.33, 61.79)
CIE-LCHlch(81.13, 63.22, 102.17°)
OKLaboklab(83.27% -0.0418 0.1404)
OKLCHoklch(83.27% 0.146 106.6)
XYZxyz(50.6357, 58.7058, 16.0597)
Luminance0.5870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CE4F #4F55D4
analogous
#D48B4F #D4CE4F #98D44F
triadic
#D4CE4F #4FD4CE #CE4FD4
tetradic
#D4CE4F #4FD48B #4F55D4 #D44F98
square
#D4CE4F #4FD48B #4F55D4 #D44F98
split-complementary
#D4CE4F #4F98D4 #8B4FD4
monochromatic
#878321 #B9B22D #D4CE4F #E0DC80 #ECE9B1

Accessibility & contrast

On white

1.65
#D4CE4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#D4CE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CE4F
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CE4F#FFFFFF#000000##000000
##D4CE4F1.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC73F
Deuteranopia (green-blind)
#E1CC57
Tritanopia (blue-blind)
#E3C1B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d4ce4f;
/* rgb */ color: rgb(212, 206, 79);
/* oklch */ color: oklch(83.3% 0.146 106.6);
Tailwind
colors: {
  custom: {
    50: '#e4dc86',
    500: '#d4ce4f',
    950: '#000000',
  },
}
SCSS
$custom: #d4ce4f;
$custom-light: #e4dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ce4f",
  "rgb": {
    "r": 212,
    "g": 206,
    "b": 79
  },
  "hsl": {
    "h": 57.293,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.83273,
    "c": 0.14646,
    "h": 106.6
  },
  "luminance": 0.58704
}

Semantic roles & 50–950 ramp

primary
#D4CE4F
secondary
#393D8E
accent
#4BE444
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4CE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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