#D5D488#D5D488

#D5D488 is a very light, moderate yellow. Relative luminance 0.630; OKLCH L 85.3% C 0.097 H 107.6°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#D5D488
RGBrgb(213, 212, 136)
HSLhsl(59, 48%, 68%)
HSVhsv(59, 36%, 84%)
CMYKcmyk(0%, 0.5%, 36.2%, 16.5%)
CIE-LABlab(83.45, -10.92, 37.76)
CIE-LCHlch(83.45, 39.31, 106.13°)
OKLaboklab(85.35% -0.0295 0.0927)
OKLCHoklch(85.35% 0.097 107.6)
XYZxyz(55.4286, 63.0118, 32.5304)
Luminance0.6301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D488 #8889D5
analogous
#D5AD88 #D5D488 #AFD588
triadic
#D5D488 #88D5D4 #D488D5
tetradic
#D5D488 #88D5AD #8889D5 #D588AF
square
#D5D488 #88D5AD #8889D5 #D588AF
split-complementary
#D5D488 #88AFD5 #AD88D5
monochromatic
#A7A63B #C5C45B #D5D488 #E5E4B5 #F5F5E2

Accessibility & contrast

On white

1.54
#D5D488 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.60
#D5D488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D488
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D488#FFFFFF#000000##000000
##D5D4881.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CE82
Deuteranopia (green-blind)
#E1D18B
Tritanopia (blue-blind)
#DFCBC1
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d5d488;
/* rgb */ color: rgb(213, 212, 136);
/* oklch */ color: oklch(85.3% 0.097 107.6);
Tailwind
colors: {
  custom: {
    50: '#e3e1ab',
    500: '#d5d488',
    950: '#000000',
  },
}
SCSS
$custom: #d5d488;
$custom-light: #e3e1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d488",
  "rgb": {
    "r": 213,
    "g": 212,
    "b": 136
  },
  "hsl": {
    "h": 59.221,
    "s": 47.826,
    "l": 68.431
  },
  "oklch": {
    "l": 0.85348,
    "c": 0.09728,
    "h": 107.6
  },
  "luminance": 0.63011
}

Semantic roles & 50–950 ramp

primary
#D5D488
secondary
#5657AB
accent
#2CBB2A
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #D5D488

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

Preview Lab → · Contrast checker → · Palette generator →

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