#D7E474#D7E474

#D7E474 is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 88.6% C 0.138 H 114.7°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#D7E474
RGBrgb(215, 228, 116)
HSLhsl(67, 67%, 67%)
HSVhsv(67, 49%, 89%)
CMYKcmyk(5.7%, 0%, 49.1%, 10.6%)
CIE-LABlab(87.58, -20.13, 52.69)
CIE-LCHlch(87.58, 56.41, 110.91°)
OKLaboklab(88.59% -0.0575 0.1249)
OKLCHoklch(88.59% 0.138 114.7)
XYZxyz(58.9210, 71.1956, 27.1578)
Luminance0.7119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E474 #8174E4
analogous
#E4B974 #D7E474 #9FE474
triadic
#D7E474 #74D7E4 #E474D7
tetradic
#D7E474 #74E4B9 #8174E4 #E4749F
square
#D7E474 #74E4B9 #8174E4 #E4749F
split-complementary
#D7E474 #749FE4 #B974E4
monochromatic
#A8BA24 #C8DA41 #D7E474 #E6EEA7 #F4F8DA

Accessibility & contrast

On white

1.38
#D7E474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.24
#D7E474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E474
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E474#FFFFFF#000000##000000
##D7E4741.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB6A
Deuteranopia (green-blind)
#F1DD7A
Tritanopia (blue-blind)
#E2D9CA
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d7e474;
/* rgb */ color: rgb(215, 228, 116);
/* oklch */ color: oklch(88.6% 0.138 114.7);
Tailwind
colors: {
  custom: {
    50: '#e5ec9f',
    500: '#d7e474',
    950: '#000000',
  },
}
SCSS
$custom: #d7e474;
$custom-light: #e5ec9f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e474",
  "rgb": {
    "r": 215,
    "g": 228,
    "b": 116
  },
  "hsl": {
    "h": 66.964,
    "s": 67.47,
    "l": 67.451
  },
  "oklch": {
    "l": 0.88593,
    "c": 0.13752,
    "h": 114.7
  },
  "luminance": 0.71195
}

Semantic roles & 50–950 ramp

primary
#D7E474
secondary
#5043BA
accent
#16CF2C
background
#FEFEFC
surface
#FDFDF5
border
#D5D5CF
text
#16160F
muted
#848480

Preview Lab

Preview with #D7E474

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

Preview Lab → · Contrast checker → · Palette generator →

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