#EAF89B#EAF89B

#EAF89B is a very light, moderate yellow. Relative luminance 0.870; OKLCH L 94.8% C 0.117 H 115.7°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#EAF89B
RGBrgb(234, 248, 155)
HSLhsl(69, 87%, 79%)
HSVhsv(69, 38%, 97%)
CMYKcmyk(5.6%, 0%, 37.5%, 2.7%)
CIE-LABlab(94.74, -18.55, 43.14)
CIE-LCHlch(94.74, 46.96, 113.27°)
OKLaboklab(94.81% -0.0508 0.1057)
OKLCHoklch(94.81% 0.117 115.7)
XYZxyz(73.4158, 86.9945, 43.9280)
Luminance0.8699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF89B #A99BF8
analogous
#F8D89B #EAF89B #BCF89B
triadic
#EAF89B #9BEAF8 #F89BEA
tetradic
#EAF89B #9BF8D8 #A99BF8 #F89BBC
square
#EAF89B #9BF8D8 #A99BF8 #F89BBC
split-complementary
#EAF89B #9BBCF8 #D89BF8
monochromatic
#D2F029 #DEF462 #EAF89B #F6FCD4 #F9FDE2

Accessibility & contrast

On white

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

On black

18.40
#EAF89B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF89B
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF89B#FFFFFF#000000##000000
##EAF89B1.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF94
Deuteranopia (green-blind)
#FFF19F
Tritanopia (blue-blind)
#F4EEE1
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #eaf89b;
/* rgb */ color: rgb(234, 248, 155);
/* oklch */ color: oklch(94.8% 0.117 115.7);
Tailwind
colors: {
  custom: {
    50: '#f2fab9',
    500: '#eaf89b',
    950: '#000000',
  },
}
SCSS
$custom: #eaf89b;
$custom-light: #f2fab9;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf89b",
  "rgb": {
    "r": 234,
    "g": 248,
    "b": 155
  },
  "hsl": {
    "h": 69.032,
    "s": 86.916,
    "l": 79.02
  },
  "oklch": {
    "l": 0.9481,
    "c": 0.11729,
    "h": 115.7
  },
  "luminance": 0.86994
}

Semantic roles & 50–950 ramp

primary
#EAF89B
secondary
#715FD8
accent
#02E324
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EAF89B

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

Preview Lab → · Contrast checker → · Palette generator →

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