#EAF587#EAF587

#EAF587 is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 93.9% C 0.135 H 113.7°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#EAF587
RGBrgb(234, 245, 135)
HSLhsl(66, 85%, 75%)
HSVhsv(66, 45%, 96%)
CMYKcmyk(4.5%, 0%, 44.9%, 3.9%)
CIE-LABlab(93.69, -19.21, 51.47)
CIE-LCHlch(93.69, 54.93, 110.47°)
OKLaboklab(93.89% -0.0542 0.1234)
OKLCHoklch(93.89% 0.135 113.7)
XYZxyz(70.9582, 84.5475, 35.4982)
Luminance0.8455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF587 #9287F5
analogous
#F5C987 #EAF587 #B3F587
triadic
#EAF587 #87EAF5 #F587EA
tetradic
#EAF587 #87F5C9 #9287F5 #F587B3
square
#EAF587 #87F5C9 #9287F5 #F587B3
split-complementary
#EAF587 #87B3F5 #C987F5
monochromatic
#D6EC16 #E0F04F #EAF587 #F4FABF #FAFDE3

Accessibility & contrast

On white

1.17
#EAF587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.91
#EAF587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF587
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF587#FFFFFF#000000##000000
##EAF5871.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7E
Deuteranopia (green-blind)
#FFEE8C
Tritanopia (blue-blind)
#F6EADB
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #eaf587;
/* rgb */ color: rgb(234, 245, 135);
/* oklch */ color: oklch(93.9% 0.135 113.7);
Tailwind
colors: {
  custom: {
    50: '#f2f8ac',
    500: '#eaf587',
    950: '#000000',
  },
}
SCSS
$custom: #eaf587;
$custom-light: #f2f8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf587",
  "rgb": {
    "r": 234,
    "g": 245,
    "b": 135
  },
  "hsl": {
    "h": 66,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.93888,
    "c": 0.13477,
    "h": 113.7
  },
  "luminance": 0.84547
}

Semantic roles & 50–950 ramp

primary
#EAF587
secondary
#5C4ED2
accent
#04E11A
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #EAF587

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

Preview Lab → · Contrast checker → · Palette generator →

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