#D9E950#D9E950

#D9E950 is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 89.5% C 0.173 H 115.1°. Best body text is #000000 at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#D9E950
RGBrgb(217, 233, 80)
HSLhsl(66, 78%, 61%)
HSVhsv(66, 66%, 91%)
CMYKcmyk(6.9%, 0%, 65.7%, 8.6%)
CIE-LABlab(88.74, -24.44, 69.46)
CIE-LCHlch(88.74, 73.63, 109.39°)
OKLaboklab(89.45% -0.0733 0.1566)
OKLCHoklch(89.45% 0.173 115.1)
XYZxyz(59.2036, 73.6097, 18.6772)
Luminance0.7361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E950 #6050E9
analogous
#E9AD50 #D9E950 #8DE950
triadic
#D9E950 #50D9E9 #E950D9
tetradic
#D9E950 #50E9AD #6050E9 #E9508D
square
#D9E950 #50E9AD #6050E9 #E9508D
split-complementary
#D9E950 #508DE9 #AD50E9
monochromatic
#9AA915 #CBE01C #D9E950 #E5F086 #F1F7BD

Accessibility & contrast

On white

1.34
#D9E950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.72
#D9E950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E950
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E950#FFFFFF#000000##000000
##D9E9501.001.3415.7215.72
#FFFFFF1.341.0021.0021.00
#00000015.7221.001.001.00
##00000015.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE3A
Deuteranopia (green-blind)
#F8E05B
Tritanopia (blue-blind)
#E6DCCA
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d9e950;
/* rgb */ color: rgb(217, 233, 80);
/* oklch */ color: oklch(89.5% 0.173 115.1);
Tailwind
colors: {
  custom: {
    50: '#e8ef89',
    500: '#d9e950',
    950: '#000000',
  },
}
SCSS
$custom: #d9e950;
$custom-light: #e8ef89;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e950",
  "rgb": {
    "r": 217,
    "g": 233,
    "b": 80
  },
  "hsl": {
    "h": 66.275,
    "s": 77.665,
    "l": 61.373
  },
  "oklch": {
    "l": 0.89451,
    "c": 0.17284,
    "h": 115.1
  },
  "luminance": 0.73609
}

Semantic roles & 50–950 ramp

primary
#D9E950
secondary
#3F32AB
accent
#0CDA21
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D9E950

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

Preview Lab → · Contrast checker → · Palette generator →

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