#D5D592#D5D592

#D5D592 is a very light, moderate yellow. Relative luminance 0.638; OKLCH L 85.7% C 0.087 H 108.1°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#D5D592
RGBrgb(213, 213, 146)
HSLhsl(60, 44%, 70%)
HSVhsv(60, 31%, 84%)
CMYKcmyk(0%, 0%, 31.5%, 16.5%)
CIE-LABlab(83.87, -10.24, 33.21)
CIE-LCHlch(83.87, 34.75, 107.14°)
OKLaboklab(85.73% -0.027 0.0825)
OKLCHoklch(85.73% 0.087 108.1)
XYZxyz(56.4235, 63.8109, 36.5330)
Luminance0.6381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D592 #9292D5
analogous
#D5B392 #D5D592 #B3D592
triadic
#D5D592 #92D5D5 #D592D5
tetradic
#D5D592 #92D5B3 #9292D5 #D592B3
square
#D5D592 #92D5B3 #9292D5 #D592B3
split-complementary
#D5D592 #92B3D5 #B392D5
monochromatic
#ABAB42 #C4C466 #D5D592 #E6E6BE #F6F6E9

Accessibility & contrast

On white

1.53
#D5D592 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#D5D592 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D592
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D592#FFFFFF#000000##000000
##D5D5921.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D08D
Deuteranopia (green-blind)
#E1D295
Tritanopia (blue-blind)
#DECDC4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d5d592;
/* rgb */ color: rgb(213, 213, 146);
/* oklch */ color: oklch(85.7% 0.087 108.1);
Tailwind
colors: {
  custom: {
    50: '#e3e1b2',
    500: '#d5d592',
    950: '#000000',
  },
}
SCSS
$custom: #d5d592;
$custom-light: #e3e1b2;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d592",
  "rgb": {
    "r": 213,
    "g": 213,
    "b": 146
  },
  "hsl": {
    "h": 60,
    "s": 44.371,
    "l": 70.392
  },
  "oklch": {
    "l": 0.85732,
    "c": 0.08678,
    "h": 108.1
  },
  "luminance": 0.6381
}

Semantic roles & 50–950 ramp

primary
#D5D592
secondary
#6060AB
accent
#2EB82E
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D5D592

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

Preview Lab → · Contrast checker → · Palette generator →

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