#D4E254#D4E254

#D4E254 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 87.6% C 0.164 H 114.6°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#D4E254
RGBrgb(212, 226, 84)
HSLhsl(66, 71%, 61%)
HSVhsv(66, 63%, 89%)
CMYKcmyk(6.2%, 0%, 62.8%, 11.4%)
CIE-LABlab(86.52, -22.85, 65.46)
CIE-LCHlch(86.52, 69.34, 109.24°)
OKLaboklab(87.59% -0.0681 0.1488)
OKLCHoklch(87.59% 0.164 114.6)
XYZxyz(55.9493, 69.0308, 18.7627)
Luminance0.6903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E254 #6254E2
analogous
#E2A954 #D4E254 #8DE254
triadic
#D4E254 #54D4E2 #E254D4
tetradic
#D4E254 #54E2A9 #6254E2 #E2548D
square
#D4E254 #54E2A9 #6254E2 #E2548D
split-complementary
#D4E254 #548DE2 #A954E2
monochromatic
#93A01B #C3D524 #D4E254 #E1EB88 #EEF4BD

Accessibility & contrast

On white

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

On black

14.81
#D4E254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E254
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E254#FFFFFF#000000##000000
##D4E2541.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D742
Deuteranopia (green-blind)
#F1DA5E
Tritanopia (blue-blind)
#E1D6C5
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d4e254;
/* rgb */ color: rgb(212, 226, 84);
/* oklch */ color: oklch(87.6% 0.164 114.6);
Tailwind
colors: {
  custom: {
    50: '#e4eb8a',
    500: '#d4e254',
    950: '#000000',
  },
}
SCSS
$custom: #d4e254;
$custom-light: #e4eb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e254",
  "rgb": {
    "r": 212,
    "g": 226,
    "b": 84
  },
  "hsl": {
    "h": 65.915,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87591,
    "c": 0.16368,
    "h": 114.6
  },
  "luminance": 0.6903
}

Semantic roles & 50–950 ramp

primary
#D4E254
secondary
#4237A3
accent
#12D325
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D4E254

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

Preview Lab → · Contrast checker → · Palette generator →

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