#EAFE97#EAFE97

#EAFE97 is a very light, vivid yellow-green. Relative luminance 0.906; OKLCH L 96.0% C 0.129 H 117.9°. Best body text is #000000 at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#EAFE97
RGBrgb(234, 254, 151)
HSLhsl(72, 98%, 79%)
HSVhsv(72, 41%, 100%)
CMYKcmyk(7.9%, 0%, 40.6%, 0.4%)
CIE-LABlab(96.25, -21.88, 47.01)
CIE-LCHlch(96.25, 51.85, 114.96°)
OKLaboklab(96% -0.0605 0.1144)
OKLCHoklch(96% 0.129 117.9)
XYZxyz(74.9597, 90.6109, 42.8129)
Luminance0.9061 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAFE97 #AB97FE
analogous
#FEDE97 #EAFE97 #B7FE97
triadic
#EAFE97 #97EAFE #FE97EA
tetradic
#EAFE97 #97FEDE #AB97FE #FE97B7
square
#EAFE97 #97FEDE #AB97FE #FE97B7
split-complementary
#EAFE97 #97B7FE #DE97FE
monochromatic
#D2FD1E #DEFD5A #EAFE97 #F6FFD4 #F9FFE1

Accessibility & contrast

On white

1.10
#EAFE97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.12
#EAFE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAFE97
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAFE97#FFFFFF#000000##000000
##EAFE971.001.1019.1219.12
#FFFFFF1.101.0021.0021.00
#00000019.1221.001.001.00
##00000019.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF48F
Deuteranopia (green-blind)
#FFF59C
Tritanopia (blue-blind)
#F4F4E5
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #eafe97;
/* rgb */ color: rgb(234, 254, 151);
/* oklch */ color: oklch(96.0% 0.129 117.9);
Tailwind
colors: {
  custom: {
    50: '#f2feb7',
    500: '#eafe97',
    950: '#000000',
  },
}
SCSS
$custom: #eafe97;
$custom-light: #f2feb7;
$custom-dark: #000000;
JSON
{
  "hex": "#eafe97",
  "rgb": {
    "r": 234,
    "g": 254,
    "b": 151
  },
  "hsl": {
    "h": 71.65,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.96,
    "c": 0.12938,
    "h": 117.9
  },
  "luminance": 0.9061
}

Semantic roles & 50–950 ramp

primary
#EAFE97
secondary
#7359E0
accent
#00E62D
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EAFE97

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

Preview Lab → · Contrast checker → · Palette generator →

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