#EAF97E#EAF97E

#EAF97E is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.6% C 0.148 H 115.0°. Best body text is #000000 at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#EAF97E
RGBrgb(234, 249, 126)
HSLhsl(67, 91%, 74%)
HSVhsv(67, 49%, 98%)
CMYKcmyk(6%, 0%, 49.4%, 2.4%)
CIE-LABlab(94.63, -21.97, 56.80)
CIE-LCHlch(94.63, 60.90, 111.15°)
OKLaboklab(94.61% -0.0628 0.1345)
OKLCHoklch(94.61% 0.148 115)
XYZxyz(71.5743, 86.7511, 32.7087)
Luminance0.8675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF97E #8D7EF9
analogous
#F9CA7E #EAF97E #ACF97E
triadic
#EAF97E #7EEAF9 #F97EEA
tetradic
#EAF97E #7EF9CA #8D7EF9 #F97EAC
square
#EAF97E #7EF9CA #8D7EF9 #F97EAC
split-complementary
#EAF97E #7EACF9 #CA7EF9
monochromatic
#D5F10B #E0F644 #EAF97E #F4FCB8 #FAFEE2

Accessibility & contrast

On white

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

On black

18.35
#EAF97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF97E
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF97E#FFFFFF#000000##000000
##EAF97E1.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF73
Deuteranopia (green-blind)
#FFF185
Tritanopia (blue-blind)
#F6EDDD
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #eaf97e;
/* rgb */ color: rgb(234, 249, 126);
/* oklch */ color: oklch(94.6% 0.148 115.0);
Tailwind
colors: {
  custom: {
    50: '#f3fba6',
    500: '#eaf97e',
    950: '#000000',
  },
}
SCSS
$custom: #eaf97e;
$custom-light: #f3fba6;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf97e",
  "rgb": {
    "r": 234,
    "g": 249,
    "b": 126
  },
  "hsl": {
    "h": 67.317,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.94609,
    "c": 0.14842,
    "h": 115
  },
  "luminance": 0.8675
}

Semantic roles & 50–950 ramp

primary
#EAF97E
secondary
#5745D6
accent
#00E61C
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#171710
muted
#858580

Preview Lab

Preview with #EAF97E

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

Preview Lab → · Contrast checker → · Palette generator →

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