#D5D598#D5D598

#D5D598 is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 85.8% C 0.080 H 108.0°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#D5D598
RGBrgb(213, 213, 152)
HSLhsl(60, 42%, 72%)
HSVhsv(60, 29%, 84%)
CMYKcmyk(0%, 0%, 28.6%, 16.5%)
CIE-LABlab(83.97, -9.49, 30.25)
CIE-LCHlch(83.97, 31.71, 107.41°)
OKLaboklab(85.84% -0.0245 0.0757)
OKLCHoklch(85.84% 0.08 108)
XYZxyz(56.9025, 64.0025, 39.0558)
Luminance0.6400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D598 #9898D5
analogous
#D5B798 #D5D598 #B7D598
triadic
#D5D598 #98D5D5 #D598D5
tetradic
#D5D598 #98D5B7 #9898D5 #D598B7
square
#D5D598 #98D5B7 #9898D5 #D598B7
split-complementary
#D5D598 #98B7D5 #B798D5
monochromatic
#ACAC46 #C3C36D #D5D598 #E7E7C3 #F6F6E9

Accessibility & contrast

On white

1.52
#D5D598 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#D5D598 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D598
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D598#FFFFFF#000000##000000
##D5D5981.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFD094
Deuteranopia (green-blind)
#E0D39A
Tritanopia (blue-blind)
#DECDC5
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d5d598;
/* rgb */ color: rgb(213, 213, 152);
/* oklch */ color: oklch(85.8% 0.080 108.0);
Tailwind
colors: {
  custom: {
    50: '#e2e1b6',
    500: '#d5d598',
    950: '#000000',
  },
}
SCSS
$custom: #d5d598;
$custom-light: #e2e1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d598",
  "rgb": {
    "r": 213,
    "g": 213,
    "b": 152
  },
  "hsl": {
    "h": 60,
    "s": 42.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.85844,
    "c": 0.07956,
    "h": 108
  },
  "luminance": 0.64002
}

Semantic roles & 50–950 ramp

primary
#D5D598
secondary
#6666AB
accent
#30B530
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D5D598

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

Preview Lab → · Contrast checker → · Palette generator →

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