#D1EA51#D1EA51

#D1EA51 is a very light, vivid yellow. Relative luminance 0.730; OKLCH L 89.1% C 0.176 H 118.1°. Best body text is #000000 at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#D1EA51
RGBrgb(209, 234, 81)
HSLhsl(70, 78%, 62%)
HSVhsv(70, 65%, 92%)
CMYKcmyk(10.7%, 0%, 65.4%, 8.2%)
CIE-LABlab(88.45, -28.05, 68.59)
CIE-LCHlch(88.45, 74.11, 112.24°)
OKLaboklab(89.08% -0.0828 0.1551)
OKLCHoklch(89.08% 0.176 118.1)
XYZxyz(57.2036, 72.9955, 18.8590)
Luminance0.7299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1EA51 #6A51EA
analogous
#EAB751 #D1EA51 #85EA51
triadic
#D1EA51 #51D1EA #EA51D1
tetradic
#D1EA51 #51EAB7 #6A51EA #EA5185
square
#D1EA51 #51EAB7 #6A51EA #EA5185
split-complementary
#D1EA51 #5185EA #B751EA
monochromatic
#93AC15 #C2E21B #D1EA51 #DFF188 #EEF7BE

Accessibility & contrast

On white

1.35
#D1EA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.60
#D1EA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1EA51
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1EA51#FFFFFF#000000##000000
##D1EA511.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE3C
Deuteranopia (green-blind)
#F6DF5C
Tritanopia (blue-blind)
#DDDECB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d1ea51;
/* rgb */ color: rgb(209, 234, 81);
/* oklch */ color: oklch(89.1% 0.176 118.1);
Tailwind
colors: {
  custom: {
    50: '#e2f089',
    500: '#d1ea51',
    950: '#000000',
  },
}
SCSS
$custom: #d1ea51;
$custom-light: #e2f089;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ea51",
  "rgb": {
    "r": 209,
    "g": 234,
    "b": 81
  },
  "hsl": {
    "h": 69.804,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.89076,
    "c": 0.17577,
    "h": 118.1
  },
  "luminance": 0.72995
}

Semantic roles & 50–950 ramp

primary
#D1EA51
secondary
#4632AD
accent
#0BDB2D
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D1EA51

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

Preview Lab → · Contrast checker → · Palette generator →

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