#D9CB58#D9CB58

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

Color values

HEX#D9CB58
RGBrgb(217, 203, 88)
HSLhsl(53, 63%, 60%)
HSVhsv(53, 59%, 85%)
CMYKcmyk(0%, 6.5%, 59.4%, 14.9%)
CIE-LABlab(80.83, -9.14, 57.73)
CIE-LCHlch(80.83, 58.45, 99.00°)
OKLaboklab(83.16% -0.0292 0.1329)
OKLCHoklch(83.16% 0.136 102.4)
XYZxyz(51.7345, 58.1701, 17.7335)
Luminance0.5817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CB58 #5866D9
analogous
#D98A58 #D9CB58 #A7D958
triadic
#D9CB58 #58D9CB #CB58D9
tetradic
#D9CB58 #58D98A #5866D9 #D958A7
square
#D9CB58 #58D98A #5866D9 #D958A7
split-complementary
#D9CB58 #58A7D9 #8A58D9
monochromatic
#958822 #C7B62D #D9CB58 #E4DB8A #F0EABC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9CB58#FFFFFF#000000##000000
##D9CB581.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)
#DCC54B
Deuteranopia (green-blind)
#E0CC5E
Tritanopia (blue-blind)
#E8BEB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d9cb58;
/* rgb */ color: rgb(217, 203, 88);
/* oklch */ color: oklch(83.2% 0.136 102.4);
Tailwind
colors: {
  custom: {
    50: '#e8da8b',
    500: '#d9cb58',
    950: '#000000',
  },
}
SCSS
$custom: #d9cb58;
$custom-light: #e8da8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cb58",
  "rgb": {
    "r": 217,
    "g": 203,
    "b": 88
  },
  "hsl": {
    "h": 53.488,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83163,
    "c": 0.13603,
    "h": 102.4
  },
  "luminance": 0.58168
}

Semantic roles & 50–950 ramp

primary
#D9CB58
secondary
#3C469A
accent
#54E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9CB58

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

Preview Lab → · Contrast checker → · Palette generator →

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