#D2E474#D2E474

#D2E474 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.2% C 0.139 H 116.9°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#D2E474
RGBrgb(210, 228, 116)
HSLhsl(70, 67%, 67%)
HSVhsv(70, 49%, 89%)
CMYKcmyk(7.9%, 0%, 49.1%, 10.6%)
CIE-LABlab(87.22, -22.09, 52.17)
CIE-LCHlch(87.22, 56.65, 112.95°)
OKLaboklab(88.21% -0.0628 0.1239)
OKLCHoklch(88.21% 0.139 116.9)
XYZxyz(57.4748, 70.4500, 27.0900)
Luminance0.7045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E474 #8674E4
analogous
#E4BE74 #D2E474 #9AE474
triadic
#D2E474 #74D2E4 #E474D2
tetradic
#D2E474 #74E4BE #8674E4 #E4749A
square
#D2E474 #74E4BE #8674E4 #E4749A
split-complementary
#D2E474 #749AE4 #BE74E4
monochromatic
#A2BA24 #C1DA41 #D2E474 #E3EEA7 #F3F8DA

Accessibility & contrast

On white

1.39
#D2E474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.09
#D2E474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E474
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E474#FFFFFF#000000##000000
##D2E4741.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA6A
Deuteranopia (green-blind)
#EFDB7A
Tritanopia (blue-blind)
#DCD9CA
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d2e474;
/* rgb */ color: rgb(210, 228, 116);
/* oklch */ color: oklch(88.2% 0.139 116.9);
Tailwind
colors: {
  custom: {
    50: '#e2ec9e',
    500: '#d2e474',
    950: '#000000',
  },
}
SCSS
$custom: #d2e474;
$custom-light: #e2ec9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e474",
  "rgb": {
    "r": 210,
    "g": 228,
    "b": 116
  },
  "hsl": {
    "h": 69.643,
    "s": 67.47,
    "l": 67.451
  },
  "oklch": {
    "l": 0.88212,
    "c": 0.13884,
    "h": 116.9
  },
  "luminance": 0.70449
}

Semantic roles & 50–950 ramp

primary
#D2E474
secondary
#5643BA
accent
#16CF34
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160F
muted
#848480

Preview Lab

Preview with #D2E474

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

Preview Lab → · Contrast checker → · Palette generator →

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