#D5E271#D5E271

#D5E271 is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.0% C 0.139 H 114.7°. Best body text is #000000 at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#D5E271
RGBrgb(213, 226, 113)
HSLhsl(67, 66%, 66%)
HSVhsv(67, 50%, 89%)
CMYKcmyk(5.8%, 0%, 50%, 11.4%)
CIE-LABlab(86.87, -20.22, 53.20)
CIE-LCHlch(86.87, 56.92, 110.81°)
OKLaboklab(87.97% -0.0579 0.1258)
OKLCHoklch(87.97% 0.139 114.7)
XYZxyz(57.6185, 69.7319, 26.0439)
Luminance0.6973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E271 #7E71E2
analogous
#E2B771 #D5E271 #9DE271
triadic
#D5E271 #71D5E2 #E271D5
tetradic
#D5E271 #71E2B7 #7E71E2 #E2719D
square
#D5E271 #71E2B7 #7E71E2 #E2719D
split-complementary
#D5E271 #719DE2 #B771E2
monochromatic
#A3B425 #C6D83E #D5E271 #E4ECA4 #F3F7D7

Accessibility & contrast

On white

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

On black

14.95
#D5E271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E271
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E271#FFFFFF#000000##000000
##D5E2711.001.4114.9514.95
#FFFFFF1.411.0021.0021.00
#00000014.9521.001.001.00
##00000014.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D967
Deuteranopia (green-blind)
#EFDB77
Tritanopia (blue-blind)
#E0D7C8
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d5e271;
/* rgb */ color: rgb(213, 226, 113);
/* oklch */ color: oklch(88.0% 0.139 114.7);
Tailwind
colors: {
  custom: {
    50: '#e4eb9c',
    500: '#d5e271',
    950: '#000000',
  },
}
SCSS
$custom: #d5e271;
$custom-light: #e4eb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e271",
  "rgb": {
    "r": 213,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 66.903,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87974,
    "c": 0.13851,
    "h": 114.7
  },
  "luminance": 0.69731
}

Semantic roles & 50–950 ramp

primary
#D5E271
secondary
#5042B5
accent
#18CE2D
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D5E271

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

Preview Lab → · Contrast checker → · Palette generator →

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