#D4CE5B#D4CE5B

#D4CE5B is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.4% C 0.137 H 106.2°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#D4CE5B
RGBrgb(212, 206, 91)
HSLhsl(57, 58%, 59%)
HSVhsv(57, 57%, 83%)
CMYKcmyk(0%, 2.8%, 57.1%, 16.9%)
CIE-LABlab(81.23, -12.52, 56.73)
CIE-LCHlch(81.23, 58.10, 102.44°)
OKLaboklab(83.39% -0.0382 0.1312)
OKLCHoklch(83.39% 0.137 106.2)
XYZxyz(51.1126, 58.8966, 18.5713)
Luminance0.5889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CE5B #5B61D4
analogous
#D4925B #D4CE5B #9ED45B
triadic
#D4CE5B #5BD4CE #CE5BD4
tetradic
#D4CE5B #5BD492 #5B61D4 #D45B9E
square
#D4CE5B #5BD492 #5B61D4 #D45B9E
split-complementary
#D4CE5B #5B9ED4 #925BD4
monochromatic
#8F8A26 #C0B932 #D4CE5B #E1DC8B #EDEBBC

Accessibility & contrast

On white

1.64
#D4CE5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#D4CE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CE5B
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CE5B#FFFFFF#000000##000000
##D4CE5B1.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4ce5b;
/* rgb */ color: rgb(212, 206, 91);
/* oklch */ color: oklch(83.4% 0.137 106.2);
Tailwind
colors: {
  custom: {
    50: '#e4dc8d',
    500: '#d4ce5b',
    950: '#000000',
  },
}
SCSS
$custom: #d4ce5b;
$custom-light: #e4dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ce5b",
  "rgb": {
    "r": 212,
    "g": 206,
    "b": 91
  },
  "hsl": {
    "h": 57.025,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.8339,
    "c": 0.13665,
    "h": 106.2
  },
  "luminance": 0.58895
}

Semantic roles & 50–950 ramp

primary
#D4CE5B
secondary
#3E4395
accent
#4EE246
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4CE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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