#D4F97B#D4F97B

#D4F97B is a very light, vivid yellow-green. Relative luminance 0.832; OKLCH L 93.0% C 0.158 H 123.0°. Best body text is #000000 at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#D4F97B
RGBrgb(212, 249, 123)
HSLhsl(78, 91%, 73%)
HSVhsv(78, 51%, 98%)
CMYKcmyk(14.9%, 0%, 50.6%, 2.4%)
CIE-LABlab(93.09, -30.61, 55.97)
CIE-LCHlch(93.09, 63.80, 118.67°)
OKLaboklab(92.99% -0.0863 0.1327)
OKLCHoklch(92.99% 0.158 123)
XYZxyz(64.6024, 83.1782, 31.3866)
Luminance0.8318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F97B #A07BF9
analogous
#F9DF7B #D4F97B #95F97B
triadic
#D4F97B #7BD4F9 #F97BD4
tetradic
#D4F97B #7BF9DF #A07BF9 #F97B95
square
#D4F97B #7BF9DF #A07BF9 #F97B95
split-complementary
#D4F97B #7B95F9 #DF7BF9
monochromatic
#ACEF0B #C1F640 #D4F97B #E7FCB6 #F5FEE2

Accessibility & contrast

On white

1.19
#D4F97B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.64
#D4F97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F97B
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F97B#FFFFFF#000000##000000
##D4F97B1.001.1917.6417.64
#FFFFFF1.191.0021.0021.00
#00000017.6421.001.001.00
##00000017.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6F
Deuteranopia (green-blind)
#FFEB82
Tritanopia (blue-blind)
#DCEFDC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d4f97b;
/* rgb */ color: rgb(212, 249, 123);
/* oklch */ color: oklch(93.0% 0.158 123.0);
Tailwind
colors: {
  custom: {
    50: '#e3fba4',
    500: '#d4f97b',
    950: '#000000',
  },
}
SCSS
$custom: #d4f97b;
$custom-light: #e3fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f97b",
  "rgb": {
    "r": 212,
    "g": 249,
    "b": 123
  },
  "hsl": {
    "h": 77.619,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92985,
    "c": 0.15827,
    "h": 123
  },
  "luminance": 0.83178
}

Semantic roles & 50–950 ramp

primary
#D4F97B
secondary
#6E43D6
accent
#00E643
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D4F97B

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

Preview Lab → · Contrast checker → · Palette generator →

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