#D4D290#D4D290

#D4D290 is a very light, moderate yellow. Relative luminance 0.621; OKLCH L 85.0% C 0.086 H 106.6°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#D4D290
RGBrgb(212, 210, 144)
HSLhsl(58, 44%, 70%)
HSVhsv(58, 32%, 83%)
CMYKcmyk(0%, 0.9%, 32.1%, 16.9%)
CIE-LABlab(82.97, -9.35, 33.04)
CIE-LCHlch(82.97, 34.34, 105.80°)
OKLaboklab(84.99% -0.0245 0.082)
OKLCHoklch(84.99% 0.086 106.6)
XYZxyz(55.2324, 62.1049, 35.4580)
Luminance0.6210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D290 #9092D4
analogous
#D4B090 #D4D290 #B4D490
triadic
#D4D290 #90D4D2 #D290D4
tetradic
#D4D290 #90D4B0 #9092D4 #D490B4
square
#D4D290 #90D4B0 #9092D4 #D490B4
split-complementary
#D4D290 #90B4D4 #B090D4
monochromatic
#A8A541 #C3C064 #D4D290 #E5E4BC #F6F6E8

Accessibility & contrast

On white

1.56
#D4D290 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#D4D290 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D290
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D290#FFFFFF#000000##000000
##D4D2901.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4d290;
/* rgb */ color: rgb(212, 210, 144);
/* oklch */ color: oklch(85.0% 0.086 106.6);
Tailwind
colors: {
  custom: {
    50: '#e2dfb1',
    500: '#d4d290',
    950: '#000000',
  },
}
SCSS
$custom: #d4d290;
$custom-light: #e2dfb1;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d290",
  "rgb": {
    "r": 212,
    "g": 210,
    "b": 144
  },
  "hsl": {
    "h": 58.235,
    "s": 44.156,
    "l": 69.804
  },
  "oklch": {
    "l": 0.84989,
    "c": 0.0856,
    "h": 106.6
  },
  "luminance": 0.62104
}

Semantic roles & 50–950 ramp

primary
#D4D290
secondary
#5E60AA
accent
#32B72E
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #D4D290

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

Preview Lab → · Contrast checker → · Palette generator →

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