#EAF97D#EAF97D

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

Color values

HEX#EAF97D
RGBrgb(234, 249, 125)
HSLhsl(67, 91%, 73%)
HSVhsv(67, 50%, 98%)
CMYKcmyk(6%, 0%, 49.8%, 2.4%)
CIE-LABlab(94.62, -22.06, 57.24)
CIE-LCHlch(94.62, 61.35, 111.08°)
OKLaboklab(94.6% -0.0631 0.1354)
OKLCHoklch(94.6% 0.149 115)
XYZxyz(71.5101, 86.7254, 32.3706)
Luminance0.8672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF97D #8C7DF9
analogous
#F9CA7D #EAF97D #ACF97D
triadic
#EAF97D #7DEAF9 #F97DEA
tetradic
#EAF97D #7DF9CA #8C7DF9 #F97DAC
square
#EAF97D #7DF9CA #8C7DF9 #F97DAC
split-complementary
#EAF97D #7DACF9 #CA7DF9
monochromatic
#D5F00B #E1F642 #EAF97D #F3FCB7 #FAFEE2

Accessibility & contrast

On white

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

On black

18.34
#EAF97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF97D
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF97D#FFFFFF#000000##000000
##EAF97D1.001.1418.3418.34
#FFFFFF1.141.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF72
Deuteranopia (green-blind)
#FFF184
Tritanopia (blue-blind)
#F6EDDD
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #eaf97d;
/* rgb */ color: rgb(234, 249, 125);
/* oklch */ color: oklch(94.6% 0.149 115.0);
Tailwind
colors: {
  custom: {
    50: '#f3fba5',
    500: '#eaf97d',
    950: '#000000',
  },
}
SCSS
$custom: #eaf97d;
$custom-light: #f3fba5;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf97d",
  "rgb": {
    "r": 234,
    "g": 249,
    "b": 125
  },
  "hsl": {
    "h": 67.258,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94597,
    "c": 0.14938,
    "h": 115
  },
  "luminance": 0.86724
}

Semantic roles & 50–950 ramp

primary
#EAF97D
secondary
#5644D6
accent
#00E61C
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF97D

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

Preview Lab → · Contrast checker → · Palette generator →

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