#EAEF87#EAEF87

#EAEF87 is a very light, vivid yellow. Relative luminance 0.810; OKLCH L 92.6% C 0.128 H 111.1°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#EAEF87
RGBrgb(234, 239, 135)
HSLhsl(63, 76%, 73%)
HSVhsv(63, 44%, 94%)
CMYKcmyk(2.1%, 0%, 43.5%, 6.3%)
CIE-LABlab(92.12, -16.29, 49.54)
CIE-LCHlch(92.12, 52.15, 108.20°)
OKLaboklab(92.64% -0.0459 0.1191)
OKLCHoklch(92.64% 0.128 111.1)
XYZxyz(69.1724, 80.9760, 34.9030)
Luminance0.8097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAEF87 #8C87EF
analogous
#EFC087 #EAEF87 #B6EF87
triadic
#EAEF87 #87EAEF #EF87EA
tetradic
#EAEF87 #87EFC0 #8C87EF #EF87B6
square
#EAEF87 #87EFC0 #8C87EF #EF87B6
split-complementary
#EAEF87 #87B6EF #C087EF
monochromatic
#D5DE1E #E1E851 #EAEF87 #F3F6BD #FAFBE4

Accessibility & contrast

On white

1.22
#EAEF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.20
#EAEF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAEF87
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAEF87#FFFFFF#000000##000000
##EAEF871.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE77E
Deuteranopia (green-blind)
#FEEA8C
Tritanopia (blue-blind)
#F6E4D6
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #eaef87;
/* rgb */ color: rgb(234, 239, 135);
/* oklch */ color: oklch(92.6% 0.128 111.1);
Tailwind
colors: {
  custom: {
    50: '#f2f4ac',
    500: '#eaef87',
    950: '#000000',
  },
}
SCSS
$custom: #eaef87;
$custom-light: #f2f4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#eaef87",
  "rgb": {
    "r": 234,
    "g": 239,
    "b": 135
  },
  "hsl": {
    "h": 62.885,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92639,
    "c": 0.12764,
    "h": 111.1
  },
  "luminance": 0.80975
}

Semantic roles & 50–950 ramp

primary
#EAEF87
secondary
#5650CA
accent
#0DD917
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #EAEF87

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

Preview Lab → · Contrast checker → · Palette generator →

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