#EAFC56#EAFC56

#EAFC56 is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 94.8% C 0.184 H 115.3°. Best body text is #000000 at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#EAFC56
RGBrgb(234, 252, 86)
HSLhsl(67, 97%, 66%)
HSVhsv(67, 66%, 99%)
CMYKcmyk(7.1%, 0%, 65.9%, 1.2%)
CIE-LABlab(95.07, -26.31, 74.08)
CIE-LCHlch(95.07, 78.61, 109.55°)
OKLaboklab(94.85% -0.0789 0.1667)
OKLCHoklch(94.85% 0.184 115.3)
XYZxyz(70.4235, 87.7862, 22.0369)
Luminance0.8779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAFC56 #6856FC
analogous
#FCBB56 #EAFC56 #97FC56
triadic
#EAFC56 #56EAFC #FC56EA
tetradic
#EAFC56 #56FCBB #6856FC #FC5697
square
#EAFC56 #56FCBB #6856FC #FC5697
split-complementary
#EAFC56 #5697FC #BB56FC
monochromatic
#BDD404 #E3FB1A #EAFC56 #F1FD92 #F9FECE

Accessibility & contrast

On white

1.13
#EAFC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.56
#EAFC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAFC56
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAFC56#FFFFFF#000000##000000
##EAFC561.001.1318.5618.56
#FFFFFF1.131.0021.0021.00
#00000018.5621.001.001.00
##00000018.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF03E
Deuteranopia (green-blind)
#FFF262
Tritanopia (blue-blind)
#F8EEDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #eafc56;
/* rgb */ color: rgb(234, 252, 86);
/* oklch */ color: oklch(94.8% 0.184 115.3);
Tailwind
colors: {
  custom: {
    50: '#f4fd8e',
    500: '#eafc56',
    950: '#000000',
  },
}
SCSS
$custom: #eafc56;
$custom-light: #f4fd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#eafc56",
  "rgb": {
    "r": 234,
    "g": 252,
    "b": 86
  },
  "hsl": {
    "h": 66.506,
    "s": 96.512,
    "l": 66.275
  },
  "oklch": {
    "l": 0.94846,
    "c": 0.18445,
    "h": 115.3
  },
  "luminance": 0.87785
}

Semantic roles & 50–950 ramp

primary
#EAFC56
secondary
#3A28CE
accent
#00E619
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #EAFC56

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

Preview Lab → · Contrast checker → · Palette generator →

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