#EAF98E#EAF98E

#EAF98E is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 94.8% C 0.132 H 115.5°. Best body text is #000000 at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#EAF98E
RGBrgb(234, 249, 142)
HSLhsl(68, 90%, 77%)
HSVhsv(68, 43%, 98%)
CMYKcmyk(6%, 0%, 43%, 2.4%)
CIE-LABlab(94.82, -20.44, 49.54)
CIE-LCHlch(94.82, 53.59, 112.42°)
OKLaboklab(94.82% -0.0571 0.1196)
OKLCHoklch(94.82% 0.132 115.5)
XYZxyz(72.6905, 87.1976, 38.5874)
Luminance0.8720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF98E #9D8EF9
analogous
#F9D38E #EAF98E #B5F98E
triadic
#EAF98E #8EEAF9 #F98EEA
tetradic
#EAF98E #8EF9D3 #9D8EF9 #F98EB5
square
#EAF98E #8EF9D3 #9D8EF9 #F98EB5
split-complementary
#EAF98E #8EB5F9 #D38EF9
monochromatic
#D4F31A #DFF654 #EAF98E #F5FCC8 #FAFDE2

Accessibility & contrast

On white

1.14
#EAF98E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.44
#EAF98E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF98E
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF98E#FFFFFF#000000##000000
##EAF98E1.001.1418.4418.44
#FFFFFF1.141.0021.0021.00
#00000018.4421.001.001.00
##00000018.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF85
Deuteranopia (green-blind)
#FFF193
Tritanopia (blue-blind)
#F5EEDF
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #eaf98e;
/* rgb */ color: rgb(234, 249, 142);
/* oklch */ color: oklch(94.8% 0.132 115.5);
Tailwind
colors: {
  custom: {
    50: '#f2fbb1',
    500: '#eaf98e',
    950: '#000000',
  },
}
SCSS
$custom: #eaf98e;
$custom-light: #f2fbb1;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf98e",
  "rgb": {
    "r": 234,
    "g": 249,
    "b": 142
  },
  "hsl": {
    "h": 68.411,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.94822,
    "c": 0.13249,
    "h": 115.5
  },
  "luminance": 0.87197
}

Semantic roles & 50–950 ramp

primary
#EAF98E
secondary
#6653D8
accent
#00E620
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EAF98E

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

Preview Lab → · Contrast checker → · Palette generator →

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