#D4E271#D4E271

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

Color values

HEX#D4E271
RGBrgb(212, 226, 113)
HSLhsl(67, 66%, 66%)
HSVhsv(67, 50%, 89%)
CMYKcmyk(6.2%, 0%, 50%, 11.4%)
CIE-LABlab(86.79, -20.61, 53.10)
CIE-LCHlch(86.79, 56.96, 111.21°)
OKLaboklab(87.9% -0.059 0.1256)
OKLCHoklch(87.9% 0.139 115.1)
XYZxyz(57.3292, 69.5828, 26.0303)
Luminance0.6958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E271 #7F71E2
analogous
#E2B871 #D4E271 #9CE271
triadic
#D4E271 #71D4E2 #E271D4
tetradic
#D4E271 #71E2B8 #7F71E2 #E2719C
square
#D4E271 #71E2B8 #7F71E2 #E2719C
split-complementary
#D4E271 #719CE2 #B871E2
monochromatic
#A2B425 #C5D83E #D4E271 #E3ECA4 #F3F7D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4E271#FFFFFF#000000##000000
##D4E2711.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)
#EFD867
Deuteranopia (green-blind)
#EEDA77
Tritanopia (blue-blind)
#DFD7C8
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d4e271;
/* rgb */ color: rgb(212, 226, 113);
/* oklch */ color: oklch(87.9% 0.139 115.1);
Tailwind
colors: {
  custom: {
    50: '#e3eb9c',
    500: '#d4e271',
    950: '#000000',
  },
}
SCSS
$custom: #d4e271;
$custom-light: #e3eb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e271",
  "rgb": {
    "r": 212,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 67.434,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87897,
    "c": 0.13875,
    "h": 115.1
  },
  "luminance": 0.69582
}

Semantic roles & 50–950 ramp

primary
#D4E271
secondary
#5142B5
accent
#18CE2E
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D4E271

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

Preview Lab → · Contrast checker → · Palette generator →

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