#D5E231#D5E231

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

Color values

HEX#D5E231
RGBrgb(213, 226, 49)
HSLhsl(64, 75%, 54%)
HSVhsv(64, 78%, 89%)
CMYKcmyk(5.8%, 0%, 78.3%, 11.4%)
CIE-LABlab(86.39, -24.18, 77.37)
CIE-LCHlch(86.39, 81.06, 107.35°)
OKLaboklab(87.44% -0.0749 0.1683)
OKLCHoklch(87.44% 0.184 114)
XYZxyz(55.1930, 68.7617, 13.2700)
Luminance0.6876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E231 #3E31E2
analogous
#E29731 #D5E231 #7DE231
triadic
#D5E231 #31D5E2 #E231D5
tetradic
#D5E231 #31E297 #3E31E2 #E2317D
square
#D5E231 #31E297 #3E31E2 #E2317D
split-complementary
#D5E231 #317DE2 #9731E2
monochromatic
#7D8613 #B0BB1A #D5E231 #E0EA67 #EBF19C

Accessibility & contrast

On white

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

On black

14.75
#D5E231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E231
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E231#FFFFFF#000000##000000
##D5E2311.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5e231;
/* rgb */ color: rgb(213, 226, 49);
/* oklch */ color: oklch(87.4% 0.184 114.0);
Tailwind
colors: {
  custom: {
    50: '#e6ea79',
    500: '#d5e231',
    950: '#000000',
  },
}
SCSS
$custom: #d5e231;
$custom-light: #e6ea79;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e231",
  "rgb": {
    "r": 213,
    "g": 226,
    "b": 49
  },
  "hsl": {
    "h": 64.407,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.87437,
    "c": 0.18424,
    "h": 114
  },
  "luminance": 0.68761
}

Semantic roles & 50–950 ramp

primary
#D5E231
secondary
#322B8C
accent
#36F244
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#16160A
muted
#85847D

Preview Lab

Preview with #D5E231

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

Preview Lab → · Contrast checker → · Palette generator →

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