#D9E231#D9E231

#D9E231 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 87.8% C 0.183 H 112.7°. Best body text is #000000 at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#D9E231
RGBrgb(217, 226, 49)
HSLhsl(63, 75%, 54%)
HSVhsv(63, 78%, 89%)
CMYKcmyk(4%, 0%, 78.3%, 11.4%)
CIE-LABlab(86.69, -22.53, 77.75)
CIE-LCHlch(86.69, 80.95, 106.16°)
OKLaboklab(87.75% -0.0706 0.169)
OKLCHoklch(87.75% 0.183 112.7)
XYZxyz(56.3679, 69.3675, 13.3251)
Luminance0.6937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E231 #3A31E2
analogous
#E29331 #D9E231 #81E231
triadic
#D9E231 #31D9E2 #E231D9
tetradic
#D9E231 #31E293 #3A31E2 #E23181
square
#D9E231 #31E293 #3A31E2 #E23181
split-complementary
#D9E231 #3181E2 #9331E2
monochromatic
#808613 #B3BB1A #D9E231 #E3EA67 #EDF19C

Accessibility & contrast

On white

1.41
#D9E231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.87
#D9E231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E231
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E231#FFFFFF#000000##000000
##D9E2311.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D700
Deuteranopia (green-blind)
#F4DB42
Tritanopia (blue-blind)
#E8D4C2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d9e231;
/* rgb */ color: rgb(217, 226, 49);
/* oklch */ color: oklch(87.8% 0.183 112.7);
Tailwind
colors: {
  custom: {
    50: '#e9ea79',
    500: '#d9e231',
    950: '#000000',
  },
}
SCSS
$custom: #d9e231;
$custom-light: #e9ea79;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e231",
  "rgb": {
    "r": 217,
    "g": 226,
    "b": 49
  },
  "hsl": {
    "h": 63.051,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.87751,
    "c": 0.18312,
    "h": 112.7
  },
  "luminance": 0.69366
}

Semantic roles & 50–950 ramp

primary
#D9E231
secondary
#302B8C
accent
#36F23F
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#17160A
muted
#85847D

Preview Lab

Preview with #D9E231

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

Preview Lab → · Contrast checker → · Palette generator →

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