#EAF98D#EAF98D

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

Color values

HEX#EAF98D
RGBrgb(234, 249, 141)
HSLhsl(68, 90%, 76%)
HSVhsv(68, 43%, 98%)
CMYKcmyk(6%, 0%, 43.4%, 2.4%)
CIE-LABlab(94.81, -20.54, 50.00)
CIE-LCHlch(94.81, 54.05, 112.33°)
OKLaboklab(94.81% -0.0574 0.1205)
OKLCHoklch(94.81% 0.134 115.5)
XYZxyz(72.6158, 87.1677, 38.1938)
Luminance0.8717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF98D #9C8DF9
analogous
#F9D28D #EAF98D #B4F98D
triadic
#EAF98D #8DEAF9 #F98DEA
tetradic
#EAF98D #8DF9D2 #9C8DF9 #F98DB4
square
#EAF98D #8DF9D2 #9C8DF9 #F98DB4
split-complementary
#EAF98D #8DB4F9 #D28DF9
monochromatic
#D5F319 #DFF653 #EAF98D #F5FCC7 #FAFDE2

Accessibility & contrast

On white

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

On black

18.43
#EAF98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF98D
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF98D#FFFFFF#000000##000000
##EAF98D1.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eaf98d;
/* rgb */ color: rgb(234, 249, 141);
/* oklch */ color: oklch(94.8% 0.134 115.5);
Tailwind
colors: {
  custom: {
    50: '#f2fbb0',
    500: '#eaf98d',
    950: '#000000',
  },
}
SCSS
$custom: #eaf98d;
$custom-light: #f2fbb0;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf98d",
  "rgb": {
    "r": 234,
    "g": 249,
    "b": 141
  },
  "hsl": {
    "h": 68.333,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.94808,
    "c": 0.13352,
    "h": 115.5
  },
  "luminance": 0.87167
}

Semantic roles & 50–950 ramp

primary
#EAF98D
secondary
#6552D8
accent
#00E620
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171711
muted
#858581

Preview Lab

Preview with #EAF98D

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

Preview Lab → · Contrast checker → · Palette generator →

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