#EAF398#EAF398

#EAF398 is a very light, moderate yellow. Relative luminance 0.839; OKLCH L 93.7% C 0.114 H 113.2°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#EAF398
RGBrgb(234, 243, 152)
HSLhsl(66, 79%, 77%)
HSVhsv(66, 37%, 95%)
CMYKcmyk(3.7%, 0%, 37.4%, 4.7%)
CIE-LABlab(93.39, -16.46, 42.89)
CIE-LCHlch(93.39, 45.94, 110.99°)
OKLaboklab(93.72% -0.045 0.105)
OKLCHoklch(93.72% 0.114 113.2)
XYZxyz(71.6503, 83.8615, 42.1121)
Luminance0.8386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF398 #A198F3
analogous
#F3CE98 #EAF398 #BDF398
triadic
#EAF398 #98EAF3 #F398EA
tetradic
#EAF398 #98F3CE #A198F3 #F398BD
square
#EAF398 #98F3CE #A198F3 #F398BD
split-complementary
#EAF398 #98BDF3 #CE98F3
monochromatic
#D4E62A #DFED61 #EAF398 #F5F9CF #F9FCE4

Accessibility & contrast

On white

1.18
#EAF398 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.77
#EAF398 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF398
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF398#FFFFFF#000000##000000
##EAF3981.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB91
Deuteranopia (green-blind)
#FFED9C
Tritanopia (blue-blind)
#F4E9DC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #eaf398;
/* rgb */ color: rgb(234, 243, 152);
/* oklch */ color: oklch(93.7% 0.114 113.2);
Tailwind
colors: {
  custom: {
    50: '#f2f7b7',
    500: '#eaf398',
    950: '#000000',
  },
}
SCSS
$custom: #eaf398;
$custom-light: #f2f7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf398",
  "rgb": {
    "r": 234,
    "g": 243,
    "b": 152
  },
  "hsl": {
    "h": 65.934,
    "s": 79.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.93724,
    "c": 0.11425,
    "h": 113.2
  },
  "luminance": 0.83861
}

Semantic roles & 50–950 ramp

primary
#EAF398
secondary
#6A5ED1
accent
#0ADB1F
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EAF398

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

Preview Lab → · Contrast checker → · Palette generator →

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