#D9CB56#D9CB56

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

Color values

HEX#D9CB56
RGBrgb(217, 203, 86)
HSLhsl(54, 63%, 59%)
HSVhsv(54, 60%, 85%)
CMYKcmyk(0%, 6.5%, 60.4%, 14.9%)
CIE-LABlab(80.82, -9.28, 58.59)
CIE-LCHlch(80.82, 59.32, 99.00°)
OKLaboklab(83.14% -0.0298 0.1344)
OKLCHoklch(83.14% 0.138 102.5)
XYZxyz(51.6528, 58.1374, 17.3031)
Luminance0.5814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CB56 #5664D9
analogous
#D98A56 #D9CB56 #A6D956
triadic
#D9CB56 #56D9CB #CB56D9
tetradic
#D9CB56 #56D98A #5664D9 #D956A6
square
#D9CB56 #56D98A #5664D9 #D956A6
split-complementary
#D9CB56 #56A6D9 #8A56D9
monochromatic
#938721 #C5B52C #D9CB56 #E4DA88 #EFEABA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9CB56#FFFFFF#000000##000000
##D9CB561.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)
#DCC549
Deuteranopia (green-blind)
#E0CB5C
Tritanopia (blue-blind)
#E8BEB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d9cb56;
/* rgb */ color: rgb(217, 203, 86);
/* oklch */ color: oklch(83.1% 0.138 102.5);
Tailwind
colors: {
  custom: {
    50: '#e8da8a',
    500: '#d9cb56',
    950: '#000000',
  },
}
SCSS
$custom: #d9cb56;
$custom-light: #e8da8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cb56",
  "rgb": {
    "r": 217,
    "g": 203,
    "b": 86
  },
  "hsl": {
    "h": 53.588,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83143,
    "c": 0.13769,
    "h": 102.5
  },
  "luminance": 0.58135
}

Semantic roles & 50–950 ramp

primary
#D9CB56
secondary
#3B4598
accent
#53E641
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9CB56

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

Preview Lab → · Contrast checker → · Palette generator →

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