#D4E272#D4E272

#D4E272 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 87.9% C 0.138 H 115.2°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#D4E272
RGBrgb(212, 226, 114)
HSLhsl(68, 66%, 67%)
HSVhsv(68, 50%, 89%)
CMYKcmyk(6.2%, 0%, 49.6%, 11.4%)
CIE-LABlab(86.80, -20.52, 52.65)
CIE-LCHlch(86.80, 56.50, 111.29°)
OKLaboklab(87.91% -0.0586 0.1247)
OKLCHoklch(87.91% 0.138 115.2)
XYZxyz(57.3858, 69.6054, 26.3284)
Luminance0.6960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E272 #8072E2
analogous
#E2B872 #D4E272 #9CE272
triadic
#D4E272 #72D4E2 #E272D4
tetradic
#D4E272 #72E2B8 #8072E2 #E2729C
square
#D4E272 #72E2B8 #8072E2 #E2729C
split-complementary
#D4E272 #729CE2 #B872E2
monochromatic
#A3B425 #C5D83F #D4E272 #E3ECA5 #F3F7D8

Accessibility & contrast

On white

1.41
#D4E272 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.92
#D4E272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E272
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E272#FFFFFF#000000##000000
##D4E2721.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD868
Deuteranopia (green-blind)
#EEDA78
Tritanopia (blue-blind)
#DFD7C8
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d4e272;
/* rgb */ color: rgb(212, 226, 114);
/* oklch */ color: oklch(87.9% 0.138 115.2);
Tailwind
colors: {
  custom: {
    50: '#e3eb9d',
    500: '#d4e272',
    950: '#000000',
  },
}
SCSS
$custom: #d4e272;
$custom-light: #e3eb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e272",
  "rgb": {
    "r": 212,
    "g": 226,
    "b": 114
  },
  "hsl": {
    "h": 67.5,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.8791,
    "c": 0.13779,
    "h": 115.2
  },
  "luminance": 0.69605
}

Semantic roles & 50–950 ramp

primary
#D4E272
secondary
#5143B5
accent
#18CE2F
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D4E272

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

Preview Lab → · Contrast checker → · Palette generator →

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