#EAF989#EAF989

#EAF989 is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 94.8% C 0.138 H 115.3°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#EAF989
RGBrgb(234, 249, 137)
HSLhsl(68, 90%, 76%)
HSVhsv(68, 45%, 98%)
CMYKcmyk(6%, 0%, 45%, 2.4%)
CIE-LABlab(94.76, -20.94, 51.84)
CIE-LCHlch(94.76, 55.90, 112.00°)
OKLaboklab(94.75% -0.0589 0.1244)
OKLCHoklch(94.75% 0.138 115.3)
XYZxyz(72.3235, 87.0508, 36.6545)
Luminance0.8705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF989 #9889F9
analogous
#F9D089 #EAF989 #B2F989
triadic
#EAF989 #89EAF9 #F989EA
tetradic
#EAF989 #89F9D0 #9889F9 #F989B2
square
#EAF989 #89F9D0 #9889F9 #F989B2
split-complementary
#EAF989 #89B2F9 #D089F9
monochromatic
#D5F315 #E0F64F #EAF989 #F4FCC3 #FAFEE2

Accessibility & contrast

On white

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

On black

18.41
#EAF989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF989
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF989#FFFFFF#000000##000000
##EAF9891.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF80
Deuteranopia (green-blind)
#FFF18F
Tritanopia (blue-blind)
#F5EEDF
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #eaf989;
/* rgb */ color: rgb(234, 249, 137);
/* oklch */ color: oklch(94.8% 0.138 115.3);
Tailwind
colors: {
  custom: {
    50: '#f2fbad',
    500: '#eaf989',
    950: '#000000',
  },
}
SCSS
$custom: #eaf989;
$custom-light: #f2fbad;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf989",
  "rgb": {
    "r": 234,
    "g": 249,
    "b": 137
  },
  "hsl": {
    "h": 68.036,
    "s": 90.323,
    "l": 75.686
  },
  "oklch": {
    "l": 0.94752,
    "c": 0.13762,
    "h": 115.3
  },
  "luminance": 0.8705
}

Semantic roles & 50–950 ramp

primary
#EAF989
secondary
#614FD7
accent
#00E61F
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #EAF989

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

Preview Lab → · Contrast checker → · Palette generator →

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