#EAFA98#EAFA98

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

Color values

HEX#EAFA98
RGBrgb(234, 250, 152)
HSLhsl(70, 91%, 79%)
HSVhsv(70, 39%, 98%)
CMYKcmyk(6.4%, 0%, 39.2%, 2%)
CIE-LABlab(95.22, -19.85, 45.22)
CIE-LCHlch(95.22, 49.38, 113.70°)
OKLaboklab(95.18% -0.0547 0.1103)
OKLCHoklch(95.18% 0.123 116.4)
XYZxyz(73.7852, 88.1313, 42.8237)
Luminance0.8813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAFA98 #A898FA
analogous
#FAD998 #EAFA98 #B9FA98
triadic
#EAFA98 #98EAFA #FA98EA
tetradic
#EAFA98 #98FAD9 #A898FA #FA98B9
square
#EAFA98 #98FAD9 #A898FA #FA98B9
split-complementary
#EAFA98 #98B9FA #D998FA
monochromatic
#D2F423 #DEF75E #EAFA98 #F6FDD2 #F9FEE2

Accessibility & contrast

On white

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

On black

18.63
#EAFA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAFA98
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAFA98#FFFFFF#000000##000000
##EAFA981.001.1318.6318.63
#FFFFFF1.131.0021.0021.00
#00000018.6321.001.001.00
##00000018.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eafa98;
/* rgb */ color: rgb(234, 250, 152);
/* oklch */ color: oklch(95.2% 0.123 116.4);
Tailwind
colors: {
  custom: {
    50: '#f2fcb7',
    500: '#eafa98',
    950: '#000000',
  },
}
SCSS
$custom: #eafa98;
$custom-light: #f2fcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#eafa98",
  "rgb": {
    "r": 234,
    "g": 250,
    "b": 152
  },
  "hsl": {
    "h": 69.796,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.9518,
    "c": 0.12314,
    "h": 116.4
  },
  "luminance": 0.88131
}

Semantic roles & 50–950 ramp

primary
#EAFA98
secondary
#705CDB
accent
#00E625
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EAFA98

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

Preview Lab → · Contrast checker → · Palette generator →

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