#D5D05F#D5D05F

#D5D05F is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.9% C 0.135 H 106.6°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#D5D05F
RGBrgb(213, 208, 95)
HSLhsl(57, 58%, 60%)
HSVhsv(57, 55%, 84%)
CMYKcmyk(0%, 2.3%, 55.4%, 16.5%)
CIE-LABlab(81.88, -12.81, 55.69)
CIE-LCHlch(81.88, 57.14, 102.96°)
OKLaboklab(83.94% -0.0387 0.1294)
OKLCHoklch(83.94% 0.135 106.6)
XYZxyz(52.0635, 60.0857, 19.6794)
Luminance0.6008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D05F #5F64D5
analogous
#D5955F #D5D05F #9FD55F
triadic
#D5D05F #5FD5D0 #D05FD5
tetradic
#D5D05F #5FD595 #5F64D5 #D55F9F
square
#D5D05F #5FD595 #5F64D5 #D55F9F
split-complementary
#D5D05F #5F9FD5 #955FD5
monochromatic
#938E27 #C3BD33 #D5D05F #E2DE8F #EEECC0

Accessibility & contrast

On white

1.61
#D5D05F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#D5D05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D05F
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D05F#FFFFFF#000000##000000
##D5D05F1.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C953
Deuteranopia (green-blind)
#E2CE65
Tritanopia (blue-blind)
#E3C4B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d5d05f;
/* rgb */ color: rgb(213, 208, 95);
/* oklch */ color: oklch(83.9% 0.135 106.6);
Tailwind
colors: {
  custom: {
    50: '#e4de90',
    500: '#d5d05f',
    950: '#000000',
  },
}
SCSS
$custom: #d5d05f;
$custom-light: #e4de90;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d05f",
  "rgb": {
    "r": 213,
    "g": 208,
    "b": 95
  },
  "hsl": {
    "h": 57.458,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8394,
    "c": 0.13507,
    "h": 106.6
  },
  "luminance": 0.60084
}

Semantic roles & 50–950 ramp

primary
#D5D05F
secondary
#404498
accent
#27C61F
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D05F

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

Preview Lab → · Contrast checker → · Palette generator →

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