#EAFC7C#EAFC7C

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

Color values

HEX#EAFC7C
RGBrgb(234, 252, 124)
HSLhsl(68, 96%, 74%)
HSVhsv(68, 51%, 99%)
CMYKcmyk(7.1%, 0%, 50.8%, 1.2%)
CIE-LABlab(95.40, -23.58, 58.62)
CIE-LCHlch(95.40, 63.18, 111.91°)
OKLaboklab(95.22% -0.0675 0.1383)
OKLCHoklch(95.22% 0.154 116)
XYZxyz(72.3812, 88.5693, 32.3474)
Luminance0.8857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAFC7C #8E7CFC
analogous
#FCCE7C #EAFC7C #AAFC7C
triadic
#EAFC7C #7CEAFC #FC7CEA
tetradic
#EAFC7C #7CFCCE #8E7CFC #FC7CAA
square
#EAFC7C #7CFCCE #8E7CFC #FC7CAA
split-complementary
#EAFC7C #7CAAFC #CE7CFC
monochromatic
#D6F806 #E0FB40 #EAFC7C #F4FDB8 #FAFEE1

Accessibility & contrast

On white

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

On black

18.71
#EAFC7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAFC7C
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAFC7C#FFFFFF#000000##000000
##EAFC7C1.001.1218.7118.71
#FFFFFF1.121.0021.0021.00
#00000018.7121.001.001.00
##00000018.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eafc7c;
/* rgb */ color: rgb(234, 252, 124);
/* oklch */ color: oklch(95.2% 0.154 116.0);
Tailwind
colors: {
  custom: {
    50: '#f3fda5',
    500: '#eafc7c',
    950: '#000000',
  },
}
SCSS
$custom: #eafc7c;
$custom-light: #f3fda5;
$custom-dark: #000000;
JSON
{
  "hex": "#eafc7c",
  "rgb": {
    "r": 234,
    "g": 252,
    "b": 124
  },
  "hsl": {
    "h": 68.438,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.95216,
    "c": 0.15388,
    "h": 116
  },
  "luminance": 0.88568
}

Semantic roles & 50–950 ramp

primary
#EAFC7C
secondary
#5843DA
accent
#00E620
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EAFC7C

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

Preview Lab → · Contrast checker → · Palette generator →

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