#EAFA78#EAFA78

#EAFA78 is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 94.7% C 0.155 H 115.2°. Best body text is #000000 at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#EAFA78
RGBrgb(234, 250, 120)
HSLhsl(67, 93%, 73%)
HSVhsv(67, 52%, 98%)
CMYKcmyk(6.4%, 0%, 52%, 2%)
CIE-LABlab(94.83, -22.97, 59.75)
CIE-LCHlch(94.83, 64.02, 111.03°)
OKLaboklab(94.75% -0.0662 0.1404)
OKLCHoklch(94.75% 0.155 115.2)
XYZxyz(71.5086, 87.2207, 30.8339)
Luminance0.8722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAFA78 #8878FA
analogous
#FAC978 #EAFA78 #A9FA78
triadic
#EAFA78 #78EAFA #FA78EA
tetradic
#EAFA78 #78FAC9 #8878FA #FA78A9
square
#EAFA78 #78FAC9 #8878FA #FA78A9
split-complementary
#EAFA78 #78A9FA #C978FA
monochromatic
#D2EF09 #E1F83D #EAFA78 #F3FCB3 #FAFEE1

Accessibility & contrast

On white

1.14
#EAFA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.44
#EAFA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAFA78
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAFA78#FFFFFF#000000##000000
##EAFA781.001.1418.4418.44
#FFFFFF1.141.0021.0021.00
#00000018.4421.001.001.00
##00000018.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6B
Deuteranopia (green-blind)
#FFF17F
Tritanopia (blue-blind)
#F7EEDD
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #eafa78;
/* rgb */ color: rgb(234, 250, 120);
/* oklch */ color: oklch(94.7% 0.155 115.2);
Tailwind
colors: {
  custom: {
    50: '#f3fba2',
    500: '#eafa78',
    950: '#000000',
  },
}
SCSS
$custom: #eafa78;
$custom-light: #f3fba2;
$custom-dark: #000000;
JSON
{
  "hex": "#eafa78",
  "rgb": {
    "r": 234,
    "g": 250,
    "b": 120
  },
  "hsl": {
    "h": 67.385,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.94748,
    "c": 0.1552,
    "h": 115.2
  },
  "luminance": 0.8722
}

Semantic roles & 50–950 ramp

primary
#EAFA78
secondary
#5240D6
accent
#00E61C
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EAFA78

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

Preview Lab → · Contrast checker → · Palette generator →

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