#D9CB5B#D9CB5B

#D9CB5B is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.2% C 0.133 H 102.2°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#D9CB5B
RGBrgb(217, 203, 91)
HSLhsl(53, 62%, 60%)
HSVhsv(53, 58%, 85%)
CMYKcmyk(0%, 6.5%, 58.1%, 14.9%)
CIE-LABlab(80.86, -8.93, 56.43)
CIE-LCHlch(80.86, 57.13, 98.99°)
OKLaboklab(83.19% -0.0283 0.1304)
OKLCHoklch(83.19% 0.133 102.2)
XYZxyz(51.8614, 58.2209, 18.4014)
Luminance0.5822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CB5B #5B69D9
analogous
#D98C5B #D9CB5B #A8D95B
triadic
#D9CB5B #5BD9CB #CB5BD9
tetradic
#D9CB5B #5BD98C #5B69D9 #D95BA8
square
#D9CB5B #5BD98C #5B69D9 #D95BA8
split-complementary
#D9CB5B #5BA8D9 #8C5BD9
monochromatic
#978A23 #C8B72E #D9CB5B #E5DB8D #F0EBBE

Accessibility & contrast

On white

1.66
#D9CB5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#D9CB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CB5B
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CB5B#FFFFFF#000000##000000
##D9CB5B1.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54F
Deuteranopia (green-blind)
#E0CC61
Tritanopia (blue-blind)
#E8BEB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d9cb5b;
/* rgb */ color: rgb(217, 203, 91);
/* oklch */ color: oklch(83.2% 0.133 102.2);
Tailwind
colors: {
  custom: {
    50: '#e7da8d',
    500: '#d9cb5b',
    950: '#000000',
  },
}
SCSS
$custom: #d9cb5b;
$custom-light: #e7da8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cb5b",
  "rgb": {
    "r": 217,
    "g": 203,
    "b": 91
  },
  "hsl": {
    "h": 53.333,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83194,
    "c": 0.13347,
    "h": 102.2
  },
  "luminance": 0.58219
}

Semantic roles & 50–950 ramp

primary
#D9CB5B
secondary
#3D479B
accent
#2FCA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9CB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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