#D1E45C#D1E45C

#D1E45C is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 87.9% C 0.161 H 116.5°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#D1E45C
RGBrgb(209, 228, 92)
HSLhsl(68, 72%, 63%)
HSVhsv(68, 60%, 89%)
CMYKcmyk(8.3%, 0%, 59.6%, 10.6%)
CIE-LABlab(86.91, -24.47, 62.52)
CIE-LCHlch(86.91, 67.13, 111.38°)
OKLaboklab(87.87% -0.0717 0.1437)
OKLCHoklch(87.87% 0.161 116.5)
XYZxyz(55.9707, 69.8155, 20.6504)
Luminance0.6982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1E45C #6F5CE4
analogous
#E4B35C #D1E45C #8DE45C
triadic
#D1E45C #5CD1E4 #E45CD1
tetradic
#D1E45C #5CE4B3 #6F5CE4 #E45C8D
square
#D1E45C #5CE4B3 #6F5CE4 #E45C8D
split-complementary
#D1E45C #5C8DE4 #B35CE4
monochromatic
#96AA1C #C2DB27 #D1E45C #E0ED91 #EFF5C5

Accessibility & contrast

On white

1.40
#D1E45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#D1E45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1E45C
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1E45C#FFFFFF#000000##000000
##D1E45C1.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D94C
Deuteranopia (green-blind)
#F1DB65
Tritanopia (blue-blind)
#DDD8C7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d1e45c;
/* rgb */ color: rgb(209, 228, 92);
/* oklch */ color: oklch(87.9% 0.161 116.5);
Tailwind
colors: {
  custom: {
    50: '#e2ec8f',
    500: '#d1e45c',
    950: '#000000',
  },
}
SCSS
$custom: #d1e45c;
$custom-light: #e2ec8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1e45c",
  "rgb": {
    "r": 209,
    "g": 228,
    "b": 92
  },
  "hsl": {
    "h": 68.382,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.87868,
    "c": 0.1606,
    "h": 116.5
  },
  "luminance": 0.69815
}

Semantic roles & 50–950 ramp

primary
#D1E45C
secondary
#4939AB
accent
#12D42D
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D1E45C

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

Preview Lab → · Contrast checker → · Palette generator →

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