#EAFC8A#EAFC8A

#EAFC8A is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.4% C 0.140 H 116.5°. Best body text is #000000 at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#EAFC8A
RGBrgb(234, 252, 138)
HSLhsl(69, 95%, 76%)
HSVhsv(69, 45%, 99%)
CMYKcmyk(7.1%, 0%, 45.2%, 1.2%)
CIE-LABlab(95.56, -22.27, 52.34)
CIE-LCHlch(95.56, 56.89, 113.05°)
OKLaboklab(95.4% -0.0626 0.1256)
OKLCHoklch(95.4% 0.14 116.5)
XYZxyz(73.3303, 88.9489, 37.3456)
Luminance0.8895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAFC8A #9C8AFC
analogous
#FCD58A #EAFC8A #B1FC8A
triadic
#EAFC8A #8AEAFC #FC8AEA
tetradic
#EAFC8A #8AFCD5 #9C8AFC #FC8AB1
square
#EAFC8A #8AFCD5 #9C8AFC #FC8AB1
split-complementary
#EAFC8A #8AB1FC #D58AFC
monochromatic
#D5F913 #DFFA4E #EAFC8A #F5FEC6 #FAFEE1

Accessibility & contrast

On white

1.12
#EAFC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.79
#EAFC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAFC8A
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAFC8A#FFFFFF#000000##000000
##EAFC8A1.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF280
Deuteranopia (green-blind)
#FFF390
Tritanopia (blue-blind)
#F5F1E1
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #eafc8a;
/* rgb */ color: rgb(234, 252, 138);
/* oklch */ color: oklch(95.4% 0.140 116.5);
Tailwind
colors: {
  custom: {
    50: '#f2fdae',
    500: '#eafc8a',
    950: '#000000',
  },
}
SCSS
$custom: #eafc8a;
$custom-light: #f2fdae;
$custom-dark: #000000;
JSON
{
  "hex": "#eafc8a",
  "rgb": {
    "r": 234,
    "g": 252,
    "b": 138
  },
  "hsl": {
    "h": 69.474,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.95395,
    "c": 0.14031,
    "h": 116.5
  },
  "luminance": 0.88948
}

Semantic roles & 50–950 ramp

primary
#EAFC8A
secondary
#654FDC
accent
#00E624
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #EAFC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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