#EAF387#EAF387

#EAF387 is a very light, vivid yellow. Relative luminance 0.833; OKLCH L 93.5% C 0.132 H 112.9°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#EAF387
RGBrgb(234, 243, 135)
HSLhsl(65, 82%, 74%)
HSVhsv(65, 44%, 95%)
CMYKcmyk(3.7%, 0%, 44.4%, 4.7%)
CIE-LABlab(93.16, -18.24, 50.82)
CIE-LCHlch(93.16, 54.00, 109.74°)
OKLaboklab(93.47% -0.0514 0.122)
OKLCHoklch(93.47% 0.132 112.9)
XYZxyz(70.3564, 83.3440, 35.2977)
Luminance0.8334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF387 #9087F3
analogous
#F3C687 #EAF387 #B4F387
triadic
#EAF387 #87EAF3 #F387EA
tetradic
#EAF387 #87F3C6 #9087F3 #F387B4
square
#EAF387 #87F3C6 #9087F3 #F387B4
split-complementary
#EAF387 #87B4F3 #C687F3
monochromatic
#D7E818 #E0ED4F #EAF387 #F4F9BF #FAFCE3

Accessibility & contrast

On white

1.19
#EAF387 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.67
#EAF387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF387
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF387#FFFFFF#000000##000000
##EAF3871.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7E
Deuteranopia (green-blind)
#FFED8C
Tritanopia (blue-blind)
#F6E8D9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #eaf387;
/* rgb */ color: rgb(234, 243, 135);
/* oklch */ color: oklch(93.5% 0.132 112.9);
Tailwind
colors: {
  custom: {
    50: '#f2f7ac',
    500: '#eaf387',
    950: '#000000',
  },
}
SCSS
$custom: #eaf387;
$custom-light: #f2f7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf387",
  "rgb": {
    "r": 234,
    "g": 243,
    "b": 135
  },
  "hsl": {
    "h": 65,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.93471,
    "c": 0.13238,
    "h": 112.9
  },
  "luminance": 0.83343
}

Semantic roles & 50–950 ramp

primary
#EAF387
secondary
#5A4FCF
accent
#07DE19
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #EAF387

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

Preview Lab → · Contrast checker → · Palette generator →

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