#EAEF57#EAEF57

#EAEF57 is a very light, vivid yellow. Relative luminance 0.799; OKLCH L 92.1% C 0.170 H 111.1°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#EAEF57
RGBrgb(234, 239, 87)
HSLhsl(62, 83%, 64%)
HSVhsv(62, 64%, 94%)
CMYKcmyk(2.1%, 0%, 63.6%, 6.3%)
CIE-LABlab(91.65, -20.07, 70.16)
CIE-LCHlch(91.65, 72.98, 105.96°)
OKLaboklab(92.11% -0.0613 0.1586)
OKLCHoklch(92.11% 0.17 111.1)
XYZxyz(66.5205, 79.9152, 20.9360)
Luminance0.7991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAEF57 #5C57EF
analogous
#EFA857 #EAEF57 #9EEF57
triadic
#EAEF57 #57EAEF #EF57EA
tetradic
#EAEF57 #57EFA8 #5C57EF #EF579E
square
#EAEF57 #57EFA8 #5C57EF #EF579E
split-complementary
#EAEF57 #579EEF #A857EF
monochromatic
#B4BA12 #E3EA1F #EAEF57 #F1F48F #F8FAC7

Accessibility & contrast

On white

1.24
#EAEF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.98
#EAEF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAEF57
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAEF57#FFFFFF#000000##000000
##EAEF571.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE543
Deuteranopia (green-blind)
#FFE961
Tritanopia (blue-blind)
#F9E1D0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #eaef57;
/* rgb */ color: rgb(234, 239, 87);
/* oklch */ color: oklch(92.1% 0.170 111.1);
Tailwind
colors: {
  custom: {
    50: '#f4f48d',
    500: '#eaef57',
    950: '#000000',
  },
}
SCSS
$custom: #eaef57;
$custom-light: #f4f48d;
$custom-dark: #000000;
JSON
{
  "hex": "#eaef57",
  "rgb": {
    "r": 234,
    "g": 239,
    "b": 87
  },
  "hsl": {
    "h": 61.974,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.92107,
    "c": 0.17006,
    "h": 111.1
  },
  "luminance": 0.79914
}

Semantic roles & 50–950 ramp

primary
#EAEF57
secondary
#3631B9
accent
#06DF0E
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #EAEF57

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

Preview Lab → · Contrast checker → · Palette generator →

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