#D4F97C#D4F97C

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

Color values

HEX#D4F97C
RGBrgb(212, 249, 124)
HSLhsl(78, 91%, 73%)
HSVhsv(78, 50%, 98%)
CMYKcmyk(14.9%, 0%, 50.2%, 2.4%)
CIE-LABlab(93.10, -30.51, 55.53)
CIE-LCHlch(93.10, 63.36, 118.79°)
OKLaboklab(93% -0.0859 0.1318)
OKLCHoklch(93% 0.157 123.1)
XYZxyz(64.6653, 83.2034, 31.7180)
Luminance0.8320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F97C #A17CF9
analogous
#F9DF7C #D4F97C #95F97C
triadic
#D4F97C #7CD4F9 #F97CD4
tetradic
#D4F97C #7CF9DF #A17CF9 #F97C95
square
#D4F97C #7CF9DF #A17CF9 #F97C95
split-complementary
#D4F97C #7C95F9 #DF7CF9
monochromatic
#ACF00B #C1F641 #D4F97C #E7FCB7 #F5FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4F97C#FFFFFF#000000##000000
##D4F97C1.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)
#FFEC71
Deuteranopia (green-blind)
#FFEB83
Tritanopia (blue-blind)
#DCEFDC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d4f97c;
/* rgb */ color: rgb(212, 249, 124);
/* oklch */ color: oklch(93.0% 0.157 123.1);
Tailwind
colors: {
  custom: {
    50: '#e3fba5',
    500: '#d4f97c',
    950: '#000000',
  },
}
SCSS
$custom: #d4f97c;
$custom-light: #e3fba5;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f97c",
  "rgb": {
    "r": 212,
    "g": 249,
    "b": 124
  },
  "hsl": {
    "h": 77.76,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.92998,
    "c": 0.15734,
    "h": 123.1
  },
  "luminance": 0.83204
}

Semantic roles & 50–950 ramp

primary
#D4F97C
secondary
#6F44D6
accent
#00E644
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D4F97C

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

Preview Lab → · Contrast checker → · Palette generator →

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