#D8D290#D8D290

#D8D290 is a very light, moderate yellow. Relative luminance 0.627; OKLCH L 85.3% C 0.086 H 103.6°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#D8D290
RGBrgb(216, 210, 144)
HSLhsl(55, 48%, 71%)
HSVhsv(55, 33%, 85%)
CMYKcmyk(0%, 2.8%, 33.3%, 15.3%)
CIE-LABlab(83.29, -7.80, 33.52)
CIE-LCHlch(83.29, 34.41, 103.11°)
OKLaboklab(85.32% -0.0202 0.0831)
OKLCHoklch(85.32% 0.086 103.6)
XYZxyz(56.4001, 62.7070, 35.5127)
Luminance0.6271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D290 #9096D8
analogous
#D8AE90 #D8D290 #BAD890
triadic
#D8D290 #90D8D2 #D290D8
tetradic
#D8D290 #90D8AE #9096D8 #D890BA
square
#D8D290 #90D8AE #9096D8 #D890BA
split-complementary
#D8D290 #90BAD8 #AE90D8
monochromatic
#B0A63E #C8C063 #D8D290 #E8E4BD #F7F6E8

Accessibility & contrast

On white

1.55
#D8D290 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#D8D290 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D290
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D290#FFFFFF#000000##000000
##D8D2901.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCD8B
Deuteranopia (green-blind)
#E0D193
Tritanopia (blue-blind)
#E2C9C1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d8d290;
/* rgb */ color: rgb(216, 210, 144);
/* oklch */ color: oklch(85.3% 0.086 103.6);
Tailwind
colors: {
  custom: {
    50: '#e5dfb1',
    500: '#d8d290',
    950: '#000000',
  },
}
SCSS
$custom: #d8d290;
$custom-light: #e5dfb1;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d290",
  "rgb": {
    "r": 216,
    "g": 210,
    "b": 144
  },
  "hsl": {
    "h": 55,
    "s": 48,
    "l": 70.588
  },
  "oklch": {
    "l": 0.8532,
    "c": 0.08554,
    "h": 103.6
  },
  "luminance": 0.62706
}

Semantic roles & 50–950 ramp

primary
#D8D290
secondary
#5D64AF
accent
#36BB2A
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D8D290

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

Preview Lab → · Contrast checker → · Palette generator →

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