#EAF97B#EAF97B

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

Color values

HEX#EAF97B
RGBrgb(234, 249, 123)
HSLhsl(67, 91%, 73%)
HSVhsv(67, 51%, 98%)
CMYKcmyk(6%, 0%, 50.6%, 2.4%)
CIE-LABlab(94.60, -22.24, 58.13)
CIE-LCHlch(94.60, 62.24, 110.93°)
OKLaboklab(94.57% -0.0638 0.1371)
OKLCHoklch(94.57% 0.151 115)
XYZxyz(71.3837, 86.6748, 31.7045)
Luminance0.8667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF97B #8A7BF9
analogous
#F9C97B #EAF97B #ABF97B
triadic
#EAF97B #7BEAF9 #F97BEA
tetradic
#EAF97B #7BF9C9 #8A7BF9 #F97BAB
square
#EAF97B #7BF9C9 #8A7BF9 #F97BAB
split-complementary
#EAF97B #7BABF9 #C97BF9
monochromatic
#D4EF0B #E1F640 #EAF97B #F3FCB6 #FAFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EAF97B#FFFFFF#000000##000000
##EAF97B1.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)
#FFEE6F
Deuteranopia (green-blind)
#FFF182
Tritanopia (blue-blind)
#F6EDDC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #eaf97b;
/* rgb */ color: rgb(234, 249, 123);
/* oklch */ color: oklch(94.6% 0.151 115.0);
Tailwind
colors: {
  custom: {
    50: '#f3fba4',
    500: '#eaf97b',
    950: '#000000',
  },
}
SCSS
$custom: #eaf97b;
$custom-light: #f3fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf97b",
  "rgb": {
    "r": 234,
    "g": 249,
    "b": 123
  },
  "hsl": {
    "h": 67.143,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94573,
    "c": 0.15125,
    "h": 115
  },
  "luminance": 0.86674
}

Semantic roles & 50–950 ramp

primary
#EAF97B
secondary
#5443D6
accent
#00E61B
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF97B

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

Preview Lab → · Contrast checker → · Palette generator →

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