#EAFE7C#EAFE7C

#EAFE7C is a very light, vivid yellow. Relative luminance 0.898; OKLCH L 95.6% C 0.156 H 116.7°. Best body text is #000000 at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#EAFE7C
RGBrgb(234, 254, 124)
HSLhsl(69, 98%, 74%)
HSVhsv(69, 51%, 100%)
CMYKcmyk(7.9%, 0%, 51.2%, 0.4%)
CIE-LABlab(95.93, -24.52, 59.24)
CIE-LCHlch(95.93, 64.11, 112.49°)
OKLaboklab(95.64% -0.0702 0.1396)
OKLCHoklch(95.64% 0.156 116.7)
XYZxyz(73.0126, 89.8320, 32.5579)
Luminance0.8983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAFE7C #907CFE
analogous
#FED17C #EAFE7C #A9FE7C
triadic
#EAFE7C #7CEAFE #FE7CEA
tetradic
#EAFE7C #7CFED1 #907CFE #FE7CA9
square
#EAFE7C #7CFED1 #907CFE #FE7CA9
split-complementary
#EAFE7C #7CA9FE #D17CFE
monochromatic
#D7FD03 #E0FE3F #EAFE7C #F4FEB9 #FAFFE1

Accessibility & contrast

On white

1.11
#EAFE7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.97
#EAFE7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAFE7C
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAFE7C#FFFFFF#000000##000000
##EAFE7C1.001.1118.9718.97
#FFFFFF1.111.0021.0021.00
#00000018.9721.001.001.00
##00000018.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF370
Deuteranopia (green-blind)
#FFF483
Tritanopia (blue-blind)
#F6F2E1
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #eafe7c;
/* rgb */ color: rgb(234, 254, 124);
/* oklch */ color: oklch(95.6% 0.156 116.7);
Tailwind
colors: {
  custom: {
    50: '#f3fea5',
    500: '#eafe7c',
    950: '#000000',
  },
}
SCSS
$custom: #eafe7c;
$custom-light: #f3fea5;
$custom-dark: #000000;
JSON
{
  "hex": "#eafe7c",
  "rgb": {
    "r": 234,
    "g": 254,
    "b": 124
  },
  "hsl": {
    "h": 69.231,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.95638,
    "c": 0.15628,
    "h": 116.7
  },
  "luminance": 0.89831
}

Semantic roles & 50–950 ramp

primary
#EAFE7C
secondary
#5A42DC
accent
#00E623
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EAFE7C

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

Preview Lab → · Contrast checker → · Palette generator →

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