#D9CB57#D9CB57

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

Color values

HEX#D9CB57
RGBrgb(217, 203, 87)
HSLhsl(54, 63%, 60%)
HSVhsv(54, 60%, 85%)
CMYKcmyk(0%, 6.5%, 59.9%, 14.9%)
CIE-LABlab(80.82, -9.21, 58.16)
CIE-LCHlch(80.82, 58.89, 99.00°)
OKLaboklab(83.15% -0.0295 0.1336)
OKLCHoklch(83.15% 0.137 102.5)
XYZxyz(51.6934, 58.1537, 17.5168)
Luminance0.5815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CB57 #5765D9
analogous
#D98A57 #D9CB57 #A6D957
triadic
#D9CB57 #57D9CB #CB57D9
tetradic
#D9CB57 #57D98A #5765D9 #D957A6
square
#D9CB57 #57D98A #5765D9 #D957A6
split-complementary
#D9CB57 #57A6D9 #8A57D9
monochromatic
#948821 #C6B62D #D9CB57 #E4DA89 #F0EABB

Accessibility & contrast

On white

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

On black

12.63
#D9CB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CB57
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CB57#FFFFFF#000000##000000
##D9CB571.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9cb57;
/* rgb */ color: rgb(217, 203, 87);
/* oklch */ color: oklch(83.2% 0.137 102.5);
Tailwind
colors: {
  custom: {
    50: '#e8da8b',
    500: '#d9cb57',
    950: '#000000',
  },
}
SCSS
$custom: #d9cb57;
$custom-light: #e8da8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cb57",
  "rgb": {
    "r": 217,
    "g": 203,
    "b": 87
  },
  "hsl": {
    "h": 53.538,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83153,
    "c": 0.13686,
    "h": 102.5
  },
  "luminance": 0.58152
}

Semantic roles & 50–950 ramp

primary
#D9CB57
secondary
#3B4599
accent
#53E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9CB57

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

Preview Lab → · Contrast checker → · Palette generator →

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