#D1E138#D1E138

#D1E138 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 86.9% C 0.181 H 115.1°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#D1E138
RGBrgb(209, 225, 56)
HSLhsl(66, 74%, 55%)
HSVhsv(66, 75%, 88%)
CMYKcmyk(7.1%, 0%, 75.1%, 11.8%)
CIE-LABlab(85.85, -25.07, 74.75)
CIE-LCHlch(85.85, 78.84, 108.54°)
OKLaboklab(86.95% -0.0767 0.1641)
OKLCHoklch(86.95% 0.181 115.1)
XYZxyz(53.9351, 67.6922, 13.9653)
Luminance0.6769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1E138 #4838E1
analogous
#E19C38 #D1E138 #7DE138
triadic
#D1E138 #38D1E1 #E138D1
tetradic
#D1E138 #38E19C #4838E1 #E1387D
square
#D1E138 #38E19C #4838E1 #E1387D
split-complementary
#D1E138 #387DE1 #9C38E1
monochromatic
#7F8A15 #B0BF1D #D1E138 #DDE96D #EAF1A2

Accessibility & contrast

On white

1.44
#D1E138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.54
#D1E138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1E138
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1E138#FFFFFF#000000##000000
##D1E1381.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D60A
Deuteranopia (green-blind)
#F0D847
Tritanopia (blue-blind)
#DFD4C1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d1e138;
/* rgb */ color: rgb(209, 225, 56);
/* oklch */ color: oklch(86.9% 0.181 115.1);
Tailwind
colors: {
  custom: {
    50: '#e3ea7c',
    500: '#d1e138',
    950: '#000000',
  },
}
SCSS
$custom: #d1e138;
$custom-light: #e3ea7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1e138",
  "rgb": {
    "r": 209,
    "g": 225,
    "b": 56
  },
  "hsl": {
    "h": 65.68,
    "s": 73.799,
    "l": 55.098
  },
  "oklch": {
    "l": 0.86946,
    "c": 0.1811,
    "h": 115.1
  },
  "luminance": 0.67691
}

Semantic roles & 50–950 ramp

primary
#D1E138
secondary
#372E8F
accent
#37F049
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16160A
muted
#84847D

Preview Lab

Preview with #D1E138

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

Preview Lab → · Contrast checker → · Palette generator →

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