#D1E957#D1E957

#D1E957 is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 88.9% C 0.170 H 118.0°. Best body text is #000000 at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#D1E957
RGBrgb(209, 233, 87)
HSLhsl(70, 77%, 63%)
HSVhsv(70, 63%, 91%)
CMYKcmyk(10.3%, 0%, 62.7%, 8.6%)
CIE-LABlab(88.22, -27.19, 65.99)
CIE-LCHlch(88.22, 71.38, 112.39°)
OKLaboklab(88.91% -0.0798 0.1504)
OKLCHoklch(88.91% 0.17 118)
XYZxyz(57.1548, 72.5218, 20.0022)
Luminance0.7252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1E957 #6F57E9
analogous
#E9B857 #D1E957 #88E957
triadic
#D1E957 #57D1E9 #E957D1
tetradic
#D1E957 #57E9B8 #6F57E9 #E95788
square
#D1E957 #57E9B8 #6F57E9 #E95788
split-complementary
#D1E957 #5788E9 #B857E9
monochromatic
#96AF17 #C2E221 #D1E957 #E0F08D #EFF7C3

Accessibility & contrast

On white

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

On black

15.50
#D1E957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1E957
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1E957#FFFFFF#000000##000000
##D1E9571.001.3515.5015.50
#FFFFFF1.351.0021.0021.00
#00000015.5021.001.001.00
##00000015.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD44
Deuteranopia (green-blind)
#F5DE61
Tritanopia (blue-blind)
#DDDDCB
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d1e957;
/* rgb */ color: rgb(209, 233, 87);
/* oklch */ color: oklch(88.9% 0.170 118.0);
Tailwind
colors: {
  custom: {
    50: '#e2f08d',
    500: '#d1e957',
    950: '#000000',
  },
}
SCSS
$custom: #d1e957;
$custom-light: #e2f08d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1e957",
  "rgb": {
    "r": 209,
    "g": 233,
    "b": 87
  },
  "hsl": {
    "h": 69.863,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.88909,
    "c": 0.17029,
    "h": 118
  },
  "luminance": 0.72521
}

Semantic roles & 50–950 ramp

primary
#D1E957
secondary
#4935AF
accent
#0CD92E
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D1E957

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

Preview Lab → · Contrast checker → · Palette generator →

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