#D9CD58#D9CD58

#D9CD58 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.6% C 0.138 H 103.5°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#D9CD58
RGBrgb(217, 205, 88)
HSLhsl(54, 63%, 60%)
HSVhsv(54, 59%, 85%)
CMYKcmyk(0%, 5.5%, 59.4%, 14.9%)
CIE-LABlab(81.36, -10.16, 58.31)
CIE-LCHlch(81.36, 59.19, 99.88°)
OKLaboklab(83.58% -0.0321 0.1341)
OKLCHoklch(83.58% 0.138 103.5)
XYZxyz(52.2099, 59.1208, 17.8919)
Luminance0.5912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD58 #5864D9
analogous
#D98D58 #D9CD58 #A4D958
triadic
#D9CD58 #58D9CD #CD58D9
tetradic
#D9CD58 #58D98D #5864D9 #D958A4
square
#D9CD58 #58D98D #5864D9 #D958A4
split-complementary
#D9CD58 #58A4D9 #8D58D9
monochromatic
#958A22 #C7B82D #D9CD58 #E4DC8A #F0EBBC

Accessibility & contrast

On white

1.64
#D9CD58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#D9CD58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD58
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD58#FFFFFF#000000##000000
##D9CD581.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74B
Deuteranopia (green-blind)
#E2CD5E
Tritanopia (blue-blind)
#E8C0B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cd58;
/* rgb */ color: rgb(217, 205, 88);
/* oklch */ color: oklch(83.6% 0.138 103.5);
Tailwind
colors: {
  custom: {
    50: '#e8dc8b',
    500: '#d9cd58',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd58;
$custom-light: #e8dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd58",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 88
  },
  "hsl": {
    "h": 54.419,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8358,
    "c": 0.13788,
    "h": 103.5
  },
  "luminance": 0.59119
}

Semantic roles & 50–950 ramp

primary
#D9CD58
secondary
#3C449A
accent
#51E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9CD58

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

Preview Lab → · Contrast checker → · Palette generator →

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