#EAF878#EAF878

#EAF878 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.3% C 0.153 H 114.5°. Best body text is #000000 at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#EAF878
RGBrgb(234, 248, 120)
HSLhsl(67, 90%, 72%)
HSVhsv(67, 52%, 97%)
CMYKcmyk(5.6%, 0%, 51.6%, 2.7%)
CIE-LABlab(94.31, -22.02, 59.14)
CIE-LCHlch(94.31, 63.10, 110.42°)
OKLaboklab(94.33% -0.0635 0.1391)
OKLCHoklch(94.33% 0.153 114.5)
XYZxyz(70.8905, 85.9843, 30.6278)
Luminance0.8598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF878 #8678F8
analogous
#F8C678 #EAF878 #AAF878
triadic
#EAF878 #78EAF8 #F878EA
tetradic
#EAF878 #78F8C6 #8678F8 #F878AA
square
#EAF878 #78F8C6 #8678F8 #F878AA
split-complementary
#EAF878 #78AAF8 #C678F8
monochromatic
#D1E90C #E1F53E #EAF878 #F3FBB2 #FAFDE2

Accessibility & contrast

On white

1.15
#EAF878 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.20
#EAF878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF878
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF878#FFFFFF#000000##000000
##EAF8781.001.1518.2018.20
#FFFFFF1.151.0021.0021.00
#00000018.2021.001.001.00
##00000018.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6C
Deuteranopia (green-blind)
#FFF07F
Tritanopia (blue-blind)
#F7ECDB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #eaf878;
/* rgb */ color: rgb(234, 248, 120);
/* oklch */ color: oklch(94.3% 0.153 114.5);
Tailwind
colors: {
  custom: {
    50: '#f3faa2',
    500: '#eaf878',
    950: '#000000',
  },
}
SCSS
$custom: #eaf878;
$custom-light: #f3faa2;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf878",
  "rgb": {
    "r": 234,
    "g": 248,
    "b": 120
  },
  "hsl": {
    "h": 66.563,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94327,
    "c": 0.15286,
    "h": 114.5
  },
  "luminance": 0.85983
}

Semantic roles & 50–950 ramp

primary
#EAF878
secondary
#5040D4
accent
#00E619
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF878

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

Preview Lab → · Contrast checker → · Palette generator →

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