#D5D05C#D5D05C

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

Color values

HEX#D5D05C
RGBrgb(213, 208, 92)
HSLhsl(58, 59%, 60%)
HSVhsv(58, 57%, 84%)
CMYKcmyk(0%, 2.3%, 56.8%, 16.5%)
CIE-LABlab(81.86, -13.04, 57.00)
CIE-LCHlch(81.86, 58.48, 102.88°)
OKLaboklab(83.91% -0.0396 0.1319)
OKLCHoklch(83.91% 0.138 106.7)
XYZxyz(51.9298, 60.0322, 18.9750)
Luminance0.6003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D05C #5C61D5
analogous
#D5945C #D5D05C #9DD55C
triadic
#D5D05C #5CD5D0 #D05CD5
tetradic
#D5D05C #5CD594 #5C61D5 #D55C9D
square
#D5D05C #5CD594 #5C61D5 #D55C9D
split-complementary
#D5D05C #5C9DD5 #945CD5
monochromatic
#918D25 #C2BC32 #D5D05C #E2DE8D #EEECBD

Accessibility & contrast

On white

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

On black

13.01
#D5D05C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D05C
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D05C#FFFFFF#000000##000000
##D5D05C1.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C950
Deuteranopia (green-blind)
#E2CE62
Tritanopia (blue-blind)
#E3C4B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5d05c;
/* rgb */ color: rgb(213, 208, 92);
/* oklch */ color: oklch(83.9% 0.138 106.7);
Tailwind
colors: {
  custom: {
    50: '#e4de8e',
    500: '#d5d05c',
    950: '#000000',
  },
}
SCSS
$custom: #d5d05c;
$custom-light: #e4de8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d05c",
  "rgb": {
    "r": 213,
    "g": 208,
    "b": 92
  },
  "hsl": {
    "h": 57.521,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83908,
    "c": 0.13771,
    "h": 106.7
  },
  "luminance": 0.60031
}

Semantic roles & 50–950 ramp

primary
#D5D05C
secondary
#3F4297
accent
#4CE246
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D05C

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

Preview Lab → · Contrast checker → · Palette generator →

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