#D9CE5B#D9CE5B

#D9CE5B is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.8% C 0.136 H 103.9°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#D9CE5B
RGBrgb(217, 206, 91)
HSLhsl(55, 62%, 60%)
HSVhsv(55, 58%, 85%)
CMYKcmyk(0%, 5.1%, 58.1%, 14.9%)
CIE-LABlab(81.65, -10.45, 57.31)
CIE-LCHlch(81.65, 58.25, 100.34°)
OKLaboklab(83.82% -0.0326 0.1323)
OKLCHoklch(83.82% 0.136 103.9)
XYZxyz(52.5767, 59.6515, 18.6399)
Luminance0.5965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CE5B #5B66D9
analogous
#D98F5B #D9CE5B #A5D95B
triadic
#D9CE5B #5BD9CE #CE5BD9
tetradic
#D9CE5B #5BD98F #5B66D9 #D95BA5
square
#D9CE5B #5BD98F #5B66D9 #D95BA5
split-complementary
#D9CE5B #5BA5D9 #8F5BD9
monochromatic
#978D23 #C8BB2E #D9CE5B #E5DD8D #F0ECBE

Accessibility & contrast

On white

1.62
#D9CE5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#D9CE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CE5B
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CE5B#FFFFFF#000000##000000
##D9CE5B1.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC84F
Deuteranopia (green-blind)
#E2CE61
Tritanopia (blue-blind)
#E8C1B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9ce5b;
/* rgb */ color: rgb(217, 206, 91);
/* oklch */ color: oklch(83.8% 0.136 103.9);
Tailwind
colors: {
  custom: {
    50: '#e7dc8d',
    500: '#d9ce5b',
    950: '#000000',
  },
}
SCSS
$custom: #d9ce5b;
$custom-light: #e7dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ce5b",
  "rgb": {
    "r": 217,
    "g": 206,
    "b": 91
  },
  "hsl": {
    "h": 54.762,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83819,
    "c": 0.13629,
    "h": 103.9
  },
  "luminance": 0.5965
}

Semantic roles & 50–950 ramp

primary
#D9CE5B
secondary
#3D459B
accent
#2BCA1B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9CE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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