#D9D05B#D9D05B

#D9D05B is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.2% C 0.138 H 104.9°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#D9D05B
RGBrgb(217, 208, 91)
HSLhsl(56, 62%, 60%)
HSVhsv(56, 58%, 85%)
CMYKcmyk(0%, 4.1%, 58.1%, 14.9%)
CIE-LABlab(82.17, -11.46, 57.89)
CIE-LCHlch(82.17, 59.02, 101.20°)
OKLaboklab(84.24% -0.0355 0.1336)
OKLCHoklch(84.24% 0.138 104.9)
XYZxyz(53.0612, 60.6206, 18.8014)
Luminance0.6062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D05B #5B64D9
analogous
#D9915B #D9D05B #A3D95B
triadic
#D9D05B #5BD9D0 #D05BD9
tetradic
#D9D05B #5BD991 #5B64D9 #D95BA3
square
#D9D05B #5BD991 #5B64D9 #D95BA3
split-complementary
#D9D05B #5BA3D9 #915BD9
monochromatic
#978E23 #C8BD2E #D9D05B #E5DE8D #F0ECBE

Accessibility & contrast

On white

1.60
#D9D05B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.12
#D9D05B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D05B
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D05B#FFFFFF#000000##000000
##D9D05B1.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94E
Deuteranopia (green-blind)
#E4CF61
Tritanopia (blue-blind)
#E8C3B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d9d05b;
/* rgb */ color: rgb(217, 208, 91);
/* oklch */ color: oklch(84.2% 0.138 104.9);
Tailwind
colors: {
  custom: {
    50: '#e7de8d',
    500: '#d9d05b',
    950: '#000000',
  },
}
SCSS
$custom: #d9d05b;
$custom-light: #e7de8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d05b",
  "rgb": {
    "r": 217,
    "g": 208,
    "b": 91
  },
  "hsl": {
    "h": 55.714,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84238,
    "c": 0.13822,
    "h": 104.9
  },
  "luminance": 0.60619
}

Semantic roles & 50–950 ramp

primary
#D9D05B
secondary
#3D449B
accent
#28CA1B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D05B

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

Preview Lab → · Contrast checker → · Palette generator →

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