#D5E239#D5E239

#D5E239 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.5% C 0.180 H 114.0°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#D5E239
RGBrgb(213, 226, 57)
HSLhsl(65, 74%, 55%)
HSVhsv(65, 75%, 89%)
CMYKcmyk(5.8%, 0%, 74.8%, 11.4%)
CIE-LABlab(86.42, -23.87, 75.07)
CIE-LCHlch(86.42, 78.78, 107.64°)
OKLaboklab(87.48% -0.0735 0.1648)
OKLCHoklch(87.48% 0.18 114)
XYZxyz(55.3771, 68.8354, 14.2395)
Luminance0.6883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E239 #4639E2
analogous
#E29A39 #D5E239 #81E239
triadic
#D5E239 #39D5E2 #E239D5
tetradic
#D5E239 #39E29A #4639E2 #E23981
square
#D5E239 #39E29A #4639E2 #E23981
split-complementary
#D5E239 #3981E2 #9A39E2
monochromatic
#838C15 #B5C11C #D5E239 #E0EA6E #ECF2A4

Accessibility & contrast

On white

1.42
#D5E239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.77
#D5E239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E239
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E239#FFFFFF#000000##000000
##D5E2391.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D70D
Deuteranopia (green-blind)
#F2DA48
Tritanopia (blue-blind)
#E3D4C2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d5e239;
/* rgb */ color: rgb(213, 226, 57);
/* oklch */ color: oklch(87.5% 0.180 114.0);
Tailwind
colors: {
  custom: {
    50: '#e6ea7c',
    500: '#d5e239',
    950: '#000000',
  },
}
SCSS
$custom: #d5e239;
$custom-light: #e6ea7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e239",
  "rgb": {
    "r": 213,
    "g": 226,
    "b": 57
  },
  "hsl": {
    "h": 64.615,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.87478,
    "c": 0.18043,
    "h": 114
  },
  "luminance": 0.68834
}

Semantic roles & 50–950 ramp

primary
#D5E239
secondary
#352E91
accent
#37F145
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D5E239

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

Preview Lab → · Contrast checker → · Palette generator →

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