#D8D98F#D8D98F

#D8D98F is a very light, moderate yellow. Relative luminance 0.662; OKLCH L 86.8% C 0.095 H 108.9°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#D8D98F
RGBrgb(216, 217, 143)
HSLhsl(61, 49%, 71%)
HSVhsv(61, 34%, 85%)
CMYKcmyk(0.5%, 0%, 34.1%, 14.9%)
CIE-LABlab(85.10, -11.47, 36.40)
CIE-LCHlch(85.10, 38.17, 107.49°)
OKLaboklab(86.75% -0.0307 0.0898)
OKLCHoklch(86.75% 0.095 108.9)
XYZxyz(58.0902, 66.2088, 35.7007)
Luminance0.6621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D98F #908FD9
analogous
#D9B58F #D8D98F #B3D98F
triadic
#D8D98F #8FD8D9 #D98FD8
tetradic
#D8D98F #8FD9B5 #908FD9 #D98FB3
square
#D8D98F #8FD9B5 #908FD9 #D98FB3
split-complementary
#D8D98F #8FB3D9 #B58FD9
monochromatic
#B0B13C #C8C961 #D8D98F #E8E9BD #F7F7E8

Accessibility & contrast

On white

1.47
#D8D98F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.24
#D8D98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D98F
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D98F#FFFFFF#000000##000000
##D8D98F1.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D38A
Deuteranopia (green-blind)
#E5D692
Tritanopia (blue-blind)
#E2D0C6
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8d98f;
/* rgb */ color: rgb(216, 217, 143);
/* oklch */ color: oklch(86.8% 0.095 108.9);
Tailwind
colors: {
  custom: {
    50: '#e5e4b0',
    500: '#d8d98f',
    950: '#000000',
  },
}
SCSS
$custom: #d8d98f;
$custom-light: #e5e4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d98f",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 143
  },
  "hsl": {
    "h": 60.811,
    "s": 49.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.86754,
    "c": 0.09493,
    "h": 108.9
  },
  "luminance": 0.66208
}

Semantic roles & 50–950 ramp

primary
#D8D98F
secondary
#5D5CB0
accent
#29BD2B
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D8D98F

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

Preview Lab → · Contrast checker → · Palette generator →

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