#EAF780#EAF780

#EAF780 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.2% C 0.144 H 114.3°. Best body text is #000000 at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#EAF780
RGBrgb(234, 247, 128)
HSLhsl(67, 88%, 74%)
HSVhsv(67, 48%, 97%)
CMYKcmyk(5.3%, 0%, 48.2%, 3.1%)
CIE-LABlab(94.13, -20.83, 55.28)
CIE-LCHlch(94.13, 59.07, 110.65°)
OKLaboklab(94.21% -0.0594 0.1313)
OKLCHoklch(94.21% 0.144 114.3)
XYZxyz(71.0898, 85.5735, 33.1903)
Luminance0.8557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF780 #8D80F7
analogous
#F7C880 #EAF780 #AEF780
triadic
#EAF780 #80EAF7 #F780EA
tetradic
#EAF780 #80F7C8 #8D80F7 #F780AE
square
#EAF780 #80F7C8 #8D80F7 #F780AE
split-complementary
#EAF780 #80AEF7 #C880F7
monochromatic
#D5EE0F #E0F346 #EAF780 #F4FBBA #FAFDE2

Accessibility & contrast

On white

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

On black

18.11
#EAF780 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF780
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF780#FFFFFF#000000##000000
##EAF7801.001.1618.1118.11
#FFFFFF1.161.0021.0021.00
#00000018.1121.001.001.00
##00000018.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED75
Deuteranopia (green-blind)
#FFEF86
Tritanopia (blue-blind)
#F6EBDC
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #eaf780;
/* rgb */ color: rgb(234, 247, 128);
/* oklch */ color: oklch(94.2% 0.144 114.3);
Tailwind
colors: {
  custom: {
    50: '#f3f9a7',
    500: '#eaf780',
    950: '#000000',
  },
}
SCSS
$custom: #eaf780;
$custom-light: #f3f9a7;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf780",
  "rgb": {
    "r": 234,
    "g": 247,
    "b": 128
  },
  "hsl": {
    "h": 66.555,
    "s": 88.148,
    "l": 73.529
  },
  "oklch": {
    "l": 0.94214,
    "c": 0.14412,
    "h": 114.3
  },
  "luminance": 0.85572
}

Semantic roles & 50–950 ramp

primary
#EAF780
secondary
#5748D4
accent
#01E51A
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #EAF780

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

Preview Lab → · Contrast checker → · Palette generator →

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