#D8E231#D8E231

#D8E231 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 87.7% C 0.183 H 113.0°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#D8E231
RGBrgb(216, 226, 49)
HSLhsl(63, 75%, 54%)
HSVhsv(63, 78%, 89%)
CMYKcmyk(4.4%, 0%, 78.3%, 11.4%)
CIE-LABlab(86.61, -22.94, 77.65)
CIE-LCHlch(86.61, 80.97, 106.46°)
OKLaboklab(87.67% -0.0717 0.1688)
OKLCHoklch(87.67% 0.183 113)
XYZxyz(56.0715, 69.2147, 13.3112)
Luminance0.6921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E231 #3B31E2
analogous
#E29431 #D8E231 #80E231
triadic
#D8E231 #31D8E2 #E231D8
tetradic
#D8E231 #31E294 #3B31E2 #E23180
square
#D8E231 #31E294 #3B31E2 #E23180
split-complementary
#D8E231 #3180E2 #9431E2
monochromatic
#7F8613 #B2BB1A #D8E231 #E2EA67 #ECF19C

Accessibility & contrast

On white

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

On black

14.84
#D8E231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E231
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E231#FFFFFF#000000##000000
##D8E2311.001.4114.8414.84
#FFFFFF1.411.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8e231;
/* rgb */ color: rgb(216, 226, 49);
/* oklch */ color: oklch(87.7% 0.183 113.0);
Tailwind
colors: {
  custom: {
    50: '#e8ea79',
    500: '#d8e231',
    950: '#000000',
  },
}
SCSS
$custom: #d8e231;
$custom-light: #e8ea79;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e231",
  "rgb": {
    "r": 216,
    "g": 226,
    "b": 49
  },
  "hsl": {
    "h": 63.39,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.87672,
    "c": 0.1834,
    "h": 113
  },
  "luminance": 0.69213
}

Semantic roles & 50–950 ramp

primary
#D8E231
secondary
#312B8C
accent
#36F241
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#17160A
muted
#85847D

Preview Lab

Preview with #D8E231

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

Preview Lab → · Contrast checker → · Palette generator →

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