#EAF97F#EAF97F

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

Color values

HEX#EAF97F
RGBrgb(234, 249, 127)
HSLhsl(67, 91%, 74%)
HSVhsv(67, 49%, 98%)
CMYKcmyk(6%, 0%, 49%, 2.4%)
CIE-LABlab(94.64, -21.88, 56.35)
CIE-LCHlch(94.64, 60.45, 111.22°)
OKLaboklab(94.62% -0.0625 0.1336)
OKLCHoklch(94.62% 0.147 115.1)
XYZxyz(71.6392, 86.7770, 33.0503)
Luminance0.8678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF97F #8E7FF9
analogous
#F9CB7F #EAF97F #ADF97F
triadic
#EAF97F #7FEAF9 #F97FEA
tetradic
#EAF97F #7FF9CB #8E7FF9 #F97FAD
square
#EAF97F #7FF9CB #8E7FF9 #F97FAD
split-complementary
#EAF97F #7FADF9 #CB7FF9
monochromatic
#D6F20B #E0F645 #EAF97F #F4FCB9 #FAFEE2

Accessibility & contrast

On white

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

On black

18.36
#EAF97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF97F
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF97F#FFFFFF#000000##000000
##EAF97F1.001.1418.3618.36
#FFFFFF1.141.0021.0021.00
#00000018.3621.001.001.00
##00000018.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eaf97f;
/* rgb */ color: rgb(234, 249, 127);
/* oklch */ color: oklch(94.6% 0.147 115.1);
Tailwind
colors: {
  custom: {
    50: '#f3fba7',
    500: '#eaf97f',
    950: '#000000',
  },
}
SCSS
$custom: #eaf97f;
$custom-light: #f3fba7;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf97f",
  "rgb": {
    "r": 234,
    "g": 249,
    "b": 127
  },
  "hsl": {
    "h": 67.377,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94621,
    "c": 0.14747,
    "h": 115.1
  },
  "luminance": 0.86776
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EAF97F

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

Preview Lab → · Contrast checker → · Palette generator →

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