#D9CB52#D9CB52

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

Color values

HEX#D9CB52
RGBrgb(217, 203, 82)
HSLhsl(54, 64%, 59%)
HSVhsv(54, 62%, 85%)
CMYKcmyk(0%, 6.5%, 62.2%, 14.9%)
CIE-LABlab(80.78, -9.54, 60.28)
CIE-LCHlch(80.78, 61.03, 99.00°)
OKLaboklab(83.1% -0.031 0.1375)
OKLCHoklch(83.1% 0.141 102.7)
XYZxyz(51.4962, 58.0748, 16.4780)
Luminance0.5807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CB52 #5260D9
analogous
#D98752 #D9CB52 #A3D952
triadic
#D9CB52 #52D9CB #CB52D9
tetradic
#D9CB52 #52D987 #5260D9 #D952A3
square
#D9CB52 #52D987 #5260D9 #D952A3
split-complementary
#D9CB52 #52A3D9 #8752D9
monochromatic
#918520 #C3B32B #D9CB52 #E4DA84 #EFE9B6

Accessibility & contrast

On white

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

On black

12.61
#D9CB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CB52
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CB52#FFFFFF#000000##000000
##D9CB521.001.6612.6112.61
#FFFFFF1.661.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC544
Deuteranopia (green-blind)
#E1CB59
Tritanopia (blue-blind)
#E8BEB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d9cb52;
/* rgb */ color: rgb(217, 203, 82);
/* oklch */ color: oklch(83.1% 0.141 102.7);
Tailwind
colors: {
  custom: {
    50: '#e8da88',
    500: '#d9cb52',
    950: '#000000',
  },
}
SCSS
$custom: #d9cb52;
$custom-light: #e8da88;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cb52",
  "rgb": {
    "r": 217,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 53.778,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83104,
    "c": 0.14092,
    "h": 102.7
  },
  "luminance": 0.58073
}

Semantic roles & 50–950 ramp

primary
#D9CB52
secondary
#394396
accent
#52E741
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9CB52

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

Preview Lab → · Contrast checker → · Palette generator →

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