#EAFC8D#EAFC8D

#EAFC8D is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.4% C 0.137 H 116.6°. Best body text is #000000 at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#EAFC8D
RGBrgb(234, 252, 141)
HSLhsl(70, 95%, 77%)
HSVhsv(70, 44%, 99%)
CMYKcmyk(7.1%, 0%, 44%, 1.2%)
CIE-LABlab(95.60, -21.97, 50.97)
CIE-LCHlch(95.60, 55.51, 113.32°)
OKLaboklab(95.44% -0.0615 0.1227)
OKLCHoklch(95.44% 0.137 116.6)
XYZxyz(73.5505, 89.0370, 38.5053)
Luminance0.8904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAFC8D #9F8DFC
analogous
#FCD78D #EAFC8D #B3FC8D
triadic
#EAFC8D #8DEAFC #FC8DEA
tetradic
#EAFC8D #8DFCD7 #9F8DFC #FC8DB3
square
#EAFC8D #8DFCD7 #9F8DFC #FC8DB3
split-complementary
#EAFC8D #8DB3FC #D78DFC
monochromatic
#D4F916 #DFFA51 #EAFC8D #F5FEC9 #FAFEE1

Accessibility & contrast

On white

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

On black

18.81
#EAFC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAFC8D
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAFC8D#FFFFFF#000000##000000
##EAFC8D1.001.1218.8118.81
#FFFFFF1.121.0021.0021.00
#00000018.8121.001.001.00
##00000018.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF284
Deuteranopia (green-blind)
#FFF393
Tritanopia (blue-blind)
#F5F1E2
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #eafc8d;
/* rgb */ color: rgb(234, 252, 141);
/* oklch */ color: oklch(95.4% 0.137 116.6);
Tailwind
colors: {
  custom: {
    50: '#f2fdb0',
    500: '#eafc8d',
    950: '#000000',
  },
}
SCSS
$custom: #eafc8d;
$custom-light: #f2fdb0;
$custom-dark: #000000;
JSON
{
  "hex": "#eafc8d",
  "rgb": {
    "r": 234,
    "g": 252,
    "b": 141
  },
  "hsl": {
    "h": 69.73,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.95436,
    "c": 0.13726,
    "h": 116.6
  },
  "luminance": 0.89036
}

Semantic roles & 50–950 ramp

primary
#EAFC8D
secondary
#6851DC
accent
#00E625
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171711
muted
#858581

Preview Lab

Preview with #EAFC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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