#EAFB97#EAFB97

#EAFB97 is a very light, vivid yellow-green. Relative luminance 0.887; OKLCH L 95.4% C 0.126 H 116.7°. Best body text is #000000 at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#EAFB97
RGBrgb(234, 251, 151)
HSLhsl(70, 93%, 79%)
HSVhsv(70, 40%, 98%)
CMYKcmyk(6.8%, 0%, 39.8%, 1.6%)
CIE-LABlab(95.46, -20.44, 46.02)
CIE-LCHlch(95.46, 50.35, 113.95°)
OKLaboklab(95.37% -0.0564 0.1121)
OKLCHoklch(95.37% 0.126 116.7)
XYZxyz(74.0152, 88.7218, 42.4980)
Luminance0.8872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAFB97 #A897FB
analogous
#FBDA97 #EAFB97 #B8FB97
triadic
#EAFB97 #97EAFB #FB97EA
tetradic
#EAFB97 #97FBDA #A897FB #FB97B8
square
#EAFB97 #97FBDA #A897FB #FB97B8
split-complementary
#EAFB97 #97B8FB #DA97FB
monochromatic
#D2F621 #DEF95C #EAFB97 #F6FDD2 #F9FEE2

Accessibility & contrast

On white

1.12
#EAFB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.74
#EAFB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAFB97
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAFB97#FFFFFF#000000##000000
##EAFB971.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18F
Deuteranopia (green-blind)
#FFF39C
Tritanopia (blue-blind)
#F4F1E3
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #eafb97;
/* rgb */ color: rgb(234, 251, 151);
/* oklch */ color: oklch(95.4% 0.126 116.7);
Tailwind
colors: {
  custom: {
    50: '#f2fcb7',
    500: '#eafb97',
    950: '#000000',
  },
}
SCSS
$custom: #eafb97;
$custom-light: #f2fcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#eafb97",
  "rgb": {
    "r": 234,
    "g": 251,
    "b": 151
  },
  "hsl": {
    "h": 70.2,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.95373,
    "c": 0.1255,
    "h": 116.7
  },
  "luminance": 0.88721
}

Semantic roles & 50–950 ramp

primary
#EAFB97
secondary
#705ADC
accent
#00E627
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EAFB97

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

Preview Lab → · Contrast checker → · Palette generator →

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