#EAF97A#EAF97A

#EAF97A is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.6% C 0.152 H 114.9°. Best body text is #000000 at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#EAF97A
RGBrgb(234, 249, 122)
HSLhsl(67, 91%, 73%)
HSVhsv(67, 51%, 98%)
CMYKcmyk(6%, 0%, 51%, 2.4%)
CIE-LABlab(94.59, -22.32, 58.57)
CIE-LCHlch(94.59, 62.68, 110.86°)
OKLaboklab(94.56% -0.0642 0.138)
OKLCHoklch(94.56% 0.152 114.9)
XYZxyz(71.3214, 86.6499, 31.3765)
Luminance0.8665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF97A #897AF9
analogous
#F9C97A #EAF97A #AAF97A
triadic
#EAF97A #7AEAF9 #F97AEA
tetradic
#EAF97A #7AF9C9 #897AF9 #F97AAA
square
#EAF97A #7AF9C9 #897AF9 #F97AAA
split-complementary
#EAF97A #7AAAF9 #C97AF9
monochromatic
#D3EE0B #E1F63F #EAF97A #F3FCB5 #FAFEE2

Accessibility & contrast

On white

1.15
#EAF97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.33
#EAF97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF97A
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF97A#FFFFFF#000000##000000
##EAF97A1.001.1518.3318.33
#FFFFFF1.151.0021.0021.00
#00000018.3321.001.001.00
##00000018.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6E
Deuteranopia (green-blind)
#FFF181
Tritanopia (blue-blind)
#F6EDDC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #eaf97a;
/* rgb */ color: rgb(234, 249, 122);
/* oklch */ color: oklch(94.6% 0.152 114.9);
Tailwind
colors: {
  custom: {
    50: '#f3fba3',
    500: '#eaf97a',
    950: '#000000',
  },
}
SCSS
$custom: #eaf97a;
$custom-light: #f3fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf97a",
  "rgb": {
    "r": 234,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 67.087,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.94561,
    "c": 0.15218,
    "h": 114.9
  },
  "luminance": 0.86649
}

Semantic roles & 50–950 ramp

primary
#EAF97A
secondary
#5342D5
accent
#00E61B
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF97A

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

Preview Lab → · Contrast checker → · Palette generator →

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