#EAFB57#EAFB57

#EAFB57 is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 94.6% C 0.183 H 115.0°. Best body text is #000000 at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#EAFB57
RGBrgb(234, 251, 87)
HSLhsl(66, 95%, 66%)
HSVhsv(66, 65%, 98%)
CMYKcmyk(6.8%, 0%, 65.3%, 1.6%)
CIE-LABlab(94.81, -25.78, 73.44)
CIE-LCHlch(94.81, 77.83, 109.35°)
OKLaboklab(94.64% -0.0773 0.1655)
OKLCHoklch(94.64% 0.183 115)
XYZxyz(70.1509, 87.1761, 22.1462)
Luminance0.8718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAFB57 #6857FB
analogous
#FBBA57 #EAFB57 #98FB57
triadic
#EAFB57 #57EAFB #FB57EA
tetradic
#EAFB57 #57FBBA #6857FB #FB5798
square
#EAFB57 #57FBBA #6857FB #FB5798
split-complementary
#EAFB57 #5798FB #BA57FB
monochromatic
#BDD305 #E3FA1B #EAFB57 #F1FC93 #F9FECF

Accessibility & contrast

On white

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

On black

18.43
#EAFB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAFB57
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAFB57#FFFFFF#000000##000000
##EAFB571.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF40
Deuteranopia (green-blind)
#FFF163
Tritanopia (blue-blind)
#F8EDDA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #eafb57;
/* rgb */ color: rgb(234, 251, 87);
/* oklch */ color: oklch(94.6% 0.183 115.0);
Tailwind
colors: {
  custom: {
    50: '#f4fc8e',
    500: '#eafb57',
    950: '#000000',
  },
}
SCSS
$custom: #eafb57;
$custom-light: #f4fc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#eafb57",
  "rgb": {
    "r": 234,
    "g": 251,
    "b": 87
  },
  "hsl": {
    "h": 66.22,
    "s": 95.349,
    "l": 66.275
  },
  "oklch": {
    "l": 0.94642,
    "c": 0.18269,
    "h": 115
  },
  "luminance": 0.87175
}

Semantic roles & 50–950 ramp

primary
#EAFB57
secondary
#3A29CD
accent
#00E618
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #EAFB57

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

Preview Lab → · Contrast checker → · Palette generator →

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