#D5D05A#D5D05A

#D5D05A is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.9% C 0.139 H 106.8°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#D5D05A
RGBrgb(213, 208, 90)
HSLhsl(58, 59%, 59%)
HSVhsv(58, 58%, 84%)
CMYKcmyk(0%, 2.3%, 57.7%, 16.5%)
CIE-LABlab(81.84, -13.18, 57.87)
CIE-LCHlch(81.84, 59.35, 102.83°)
OKLaboklab(83.89% -0.0403 0.1335)
OKLCHoklch(83.89% 0.139 106.8)
XYZxyz(51.8435, 59.9976, 18.5206)
Luminance0.6000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D05A #5A5FD5
analogous
#D5935A #D5D05A #9DD55A
triadic
#D5D05A #5AD5D0 #D05AD5
tetradic
#D5D05A #5AD593 #5A5FD5 #D55A9D
square
#D5D05A #5AD593 #5A5FD5 #D55A9D
split-complementary
#D5D05A #5A9DD5 #935AD5
monochromatic
#908C25 #C1BB31 #D5D05A #E1DE8B #EEECBC

Accessibility & contrast

On white

1.62
#D5D05A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.00
#D5D05A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D05A
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D05A#FFFFFF#000000##000000
##D5D05A1.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94D
Deuteranopia (green-blind)
#E2CE61
Tritanopia (blue-blind)
#E3C4B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5d05a;
/* rgb */ color: rgb(213, 208, 90);
/* oklch */ color: oklch(83.9% 0.139 106.8);
Tailwind
colors: {
  custom: {
    50: '#e5de8d',
    500: '#d5d05a',
    950: '#000000',
  },
}
SCSS
$custom: #d5d05a;
$custom-light: #e5de8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d05a",
  "rgb": {
    "r": 213,
    "g": 208,
    "b": 90
  },
  "hsl": {
    "h": 57.561,
    "s": 59.42,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83887,
    "c": 0.13943,
    "h": 106.8
  },
  "luminance": 0.59996
}

Semantic roles & 50–950 ramp

primary
#D5D05A
secondary
#3E4196
accent
#4CE345
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D05A

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

Preview Lab → · Contrast checker → · Palette generator →

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