#D9E958#D9E958

#D9E958 is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 89.5% C 0.167 H 115.2°. Best body text is #000000 at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#D9E958
RGBrgb(217, 233, 88)
HSLhsl(67, 77%, 63%)
HSVhsv(67, 62%, 91%)
CMYKcmyk(6.9%, 0%, 62.2%, 8.6%)
CIE-LABlab(88.80, -23.95, 66.38)
CIE-LCHlch(88.80, 70.57, 109.84°)
OKLaboklab(89.52% -0.0711 0.1512)
OKLCHoklch(89.52% 0.167 115.2)
XYZxyz(59.5170, 73.7350, 20.3276)
Luminance0.7373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E958 #6858E9
analogous
#E9B158 #D9E958 #90E958
triadic
#D9E958 #58D9E9 #E958D9
tetradic
#D9E958 #58E9B1 #6858E9 #E95890
square
#D9E958 #58E9B1 #6858E9 #E95890
split-complementary
#D9E958 #5890E9 #B158E9
monochromatic
#9FAF17 #CDE222 #D9E958 #E5F08E #F2F7C4

Accessibility & contrast

On white

1.33
#D9E958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.75
#D9E958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E958
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E958#FFFFFF#000000##000000
##D9E9581.001.3315.7515.75
#FFFFFF1.331.0021.0021.00
#00000015.7521.001.001.00
##00000015.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE46
Deuteranopia (green-blind)
#F7E062
Tritanopia (blue-blind)
#E6DCCB
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d9e958;
/* rgb */ color: rgb(217, 233, 88);
/* oklch */ color: oklch(89.5% 0.167 115.2);
Tailwind
colors: {
  custom: {
    50: '#e8ef8d',
    500: '#d9e958',
    950: '#000000',
  },
}
SCSS
$custom: #d9e958;
$custom-light: #e8ef8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e958",
  "rgb": {
    "r": 217,
    "g": 233,
    "b": 88
  },
  "hsl": {
    "h": 66.621,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.89517,
    "c": 0.16707,
    "h": 115.2
  },
  "luminance": 0.73734
}

Semantic roles & 50–950 ramp

primary
#D9E958
secondary
#4335B0
accent
#0DD923
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D9E958

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

Preview Lab → · Contrast checker → · Palette generator →

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