#EAFC7A#EAFC7A

#EAFC7A is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.2% C 0.156 H 116.0°. Best body text is #000000 at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#EAFC7A
RGBrgb(234, 252, 122)
HSLhsl(68, 96%, 73%)
HSVhsv(68, 52%, 99%)
CMYKcmyk(7.1%, 0%, 51.6%, 1.2%)
CIE-LABlab(95.38, -23.75, 59.49)
CIE-LCHlch(95.38, 64.06, 111.76°)
OKLaboklab(95.19% -0.0682 0.14)
OKLCHoklch(95.19% 0.156 116)
XYZxyz(72.2560, 88.5192, 31.6881)
Luminance0.8852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAFC7A #8C7AFC
analogous
#FCCD7A #EAFC7A #A9FC7A
triadic
#EAFC7A #7AEAFC #FC7AEA
tetradic
#EAFC7A #7AFCCD #8C7AFC #FC7AA9
square
#EAFC7A #7AFCCD #8C7AFC #FC7AA9
split-complementary
#EAFC7A #7AA9FC #CD7AFC
monochromatic
#D5F606 #E1FB3E #EAFC7A #F3FDB6 #FAFEE1

Accessibility & contrast

On white

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

On black

18.70
#EAFC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAFC7A
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAFC7A#FFFFFF#000000##000000
##EAFC7A1.001.1218.7018.70
#FFFFFF1.121.0021.0021.00
#00000018.7021.001.001.00
##00000018.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF16E
Deuteranopia (green-blind)
#FFF381
Tritanopia (blue-blind)
#F6F0DF
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #eafc7a;
/* rgb */ color: rgb(234, 252, 122);
/* oklch */ color: oklch(95.2% 0.156 116.0);
Tailwind
colors: {
  custom: {
    50: '#f3fda4',
    500: '#eafc7a',
    950: '#000000',
  },
}
SCSS
$custom: #eafc7a;
$custom-light: #f3fda4;
$custom-dark: #000000;
JSON
{
  "hex": "#eafc7a",
  "rgb": {
    "r": 234,
    "g": 252,
    "b": 122
  },
  "hsl": {
    "h": 68.308,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.95192,
    "c": 0.15573,
    "h": 116
  },
  "luminance": 0.88518
}

Semantic roles & 50–950 ramp

primary
#EAFC7A
secondary
#5641D9
accent
#00E620
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EAFC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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