#D4E166#D4E166

#D4E166 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.6% C 0.148 H 114.5°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#D4E166
RGBrgb(212, 225, 102)
HSLhsl(66, 67%, 64%)
HSVhsv(66, 55%, 88%)
CMYKcmyk(5.8%, 0%, 54.7%, 11.8%)
CIE-LABlab(86.41, -21.07, 57.67)
CIE-LCHlch(86.41, 61.40, 110.07°)
OKLaboklab(87.55% -0.0613 0.1345)
OKLCHoklch(87.55% 0.148 114.5)
XYZxyz(56.4759, 68.8077, 22.8739)
Luminance0.6881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E166 #7366E1
analogous
#E1B066 #D4E166 #97E166
triadic
#D4E166 #66D4E1 #E166D4
tetradic
#D4E166 #66E1B0 #7366E1 #E16697
square
#D4E166 #66E1B0 #7366E1 #E16697
split-complementary
#D4E166 #6697E1 #B066E1
monochromatic
#9DAB22 #C6D733 #D4E166 #E2EB99 #F1F5CC

Accessibility & contrast

On white

1.42
#D4E166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.76
#D4E166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E166
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E166#FFFFFF#000000##000000
##D4E1661.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD759
Deuteranopia (green-blind)
#EFD96D
Tritanopia (blue-blind)
#E0D5C6
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d4e166;
/* rgb */ color: rgb(212, 225, 102);
/* oklch */ color: oklch(87.6% 0.148 114.5);
Tailwind
colors: {
  custom: {
    50: '#e3ea95',
    500: '#d4e166',
    950: '#000000',
  },
}
SCSS
$custom: #d4e166;
$custom-light: #e3ea95;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e166",
  "rgb": {
    "r": 212,
    "g": 225,
    "b": 102
  },
  "hsl": {
    "h": 66.341,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87554,
    "c": 0.14778,
    "h": 114.5
  },
  "luminance": 0.68807
}

Semantic roles & 50–950 ramp

primary
#D4E166
secondary
#4A3EAD
accent
#16CF2A
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D4E166

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

Preview Lab → · Contrast checker → · Palette generator →

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