#EAF778#EAF778

#EAF778 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.1% C 0.152 H 114.2°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#EAF778
RGBrgb(234, 247, 120)
HSLhsl(66, 89%, 72%)
HSVhsv(66, 51%, 97%)
CMYKcmyk(5.3%, 0%, 51.4%, 3.1%)
CIE-LABlab(94.04, -21.54, 58.83)
CIE-LCHlch(94.04, 62.65, 110.11°)
OKLaboklab(94.12% -0.0621 0.1384)
OKLCHoklch(94.12% 0.152 114.2)
XYZxyz(70.5839, 85.3711, 30.5256)
Luminance0.8537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF778 #8578F7
analogous
#F7C578 #EAF778 #ABF778
triadic
#EAF778 #78EAF7 #F778EA
tetradic
#EAF778 #78F7C5 #8578F7 #F778AB
square
#EAF778 #78F7C5 #8578F7 #F778AB
split-complementary
#EAF778 #78ABF7 #C578F7
monochromatic
#D1E70E #E1F43E #EAF778 #F3FAB2 #FBFDE2

Accessibility & contrast

On white

1.16
#EAF778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.07
#EAF778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF778
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF778#FFFFFF#000000##000000
##EAF7781.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6C
Deuteranopia (green-blind)
#FFEF7F
Tritanopia (blue-blind)
#F7EBDA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #eaf778;
/* rgb */ color: rgb(234, 247, 120);
/* oklch */ color: oklch(94.1% 0.152 114.2);
Tailwind
colors: {
  custom: {
    50: '#f3f9a2',
    500: '#eaf778',
    950: '#000000',
  },
}
SCSS
$custom: #eaf778;
$custom-light: #f3f9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf778",
  "rgb": {
    "r": 234,
    "g": 247,
    "b": 120
  },
  "hsl": {
    "h": 66.142,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94117,
    "c": 0.15169,
    "h": 114.2
  },
  "luminance": 0.8537
}

Semantic roles & 50–950 ramp

primary
#EAF778
secondary
#5041D3
accent
#00E518
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF778

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

Preview Lab → · Contrast checker → · Palette generator →

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