#EAFA97#EAFA97

#EAFA97 is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.2% C 0.124 H 116.3°. Best body text is #000000 at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#EAFA97
RGBrgb(234, 250, 151)
HSLhsl(70, 91%, 79%)
HSVhsv(70, 40%, 98%)
CMYKcmyk(6.4%, 0%, 39.6%, 2%)
CIE-LABlab(95.20, -19.96, 45.69)
CIE-LCHlch(95.20, 49.86, 113.60°)
OKLaboklab(95.16% -0.0551 0.1113)
OKLCHoklch(95.16% 0.124 116.3)
XYZxyz(73.7036, 88.0987, 42.3942)
Luminance0.8810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAFA97 #A797FA
analogous
#FAD897 #EAFA97 #B8FA97
triadic
#EAFA97 #97EAFA #FA97EA
tetradic
#EAFA97 #97FAD8 #A797FA #FA97B8
square
#EAFA97 #97FAD8 #A797FA #FA97B8
split-complementary
#EAFA97 #97B8FA #D897FA
monochromatic
#D2F422 #DEF75D #EAFA97 #F6FDD1 #F9FEE2

Accessibility & contrast

On white

1.13
#EAFA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.62
#EAFA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAFA97
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAFA97#FFFFFF#000000##000000
##EAFA971.001.1318.6218.62
#FFFFFF1.131.0021.0021.00
#00000018.6221.001.001.00
##00000018.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18F
Deuteranopia (green-blind)
#FFF29C
Tritanopia (blue-blind)
#F4F0E2
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #eafa97;
/* rgb */ color: rgb(234, 250, 151);
/* oklch */ color: oklch(95.2% 0.124 116.3);
Tailwind
colors: {
  custom: {
    50: '#f2fcb7',
    500: '#eafa97',
    950: '#000000',
  },
}
SCSS
$custom: #eafa97;
$custom-light: #f2fcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#eafa97",
  "rgb": {
    "r": 234,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 69.697,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.95164,
    "c": 0.12422,
    "h": 116.3
  },
  "luminance": 0.88098
}

Semantic roles & 50–950 ramp

primary
#EAFA97
secondary
#6F5BDA
accent
#00E625
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EAFA97

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

Preview Lab → · Contrast checker → · Palette generator →

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