#EAF78F#EAF78F

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

Color values

HEX#EAF78F
RGBrgb(234, 247, 143)
HSLhsl(68, 87%, 76%)
HSVhsv(68, 42%, 97%)
CMYKcmyk(5.3%, 0%, 42.1%, 3.1%)
CIE-LABlab(94.31, -19.37, 48.42)
CIE-LCHlch(94.31, 52.15, 111.80°)
OKLaboklab(94.42% -0.054 0.1171)
OKLCHoklch(94.42% 0.129 114.7)
XYZxyz(72.1511, 85.9980, 38.7796)
Luminance0.8600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF78F #9C8FF7
analogous
#F7D08F #EAF78F #B6F78F
triadic
#EAF78F #8FEAF7 #F78FEA
tetradic
#EAF78F #8FF7D0 #9C8FF7 #F78FB6
square
#EAF78F #8FF7D0 #9C8FF7 #F78FB6
split-complementary
#EAF78F #8FB6F7 #D08FF7
monochromatic
#D5EF1D #DFF356 #EAF78F #F5FBC8 #FAFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EAF78F#FFFFFF#000000##000000
##EAF78F1.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)
#FFEE87
Deuteranopia (green-blind)
#FFF094
Tritanopia (blue-blind)
#F5ECDE
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #eaf78f;
/* rgb */ color: rgb(234, 247, 143);
/* oklch */ color: oklch(94.4% 0.129 114.7);
Tailwind
colors: {
  custom: {
    50: '#f2f9b1',
    500: '#eaf78f',
    950: '#000000',
  },
}
SCSS
$custom: #eaf78f;
$custom-light: #f2f9b1;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf78f",
  "rgb": {
    "r": 234,
    "g": 247,
    "b": 143
  },
  "hsl": {
    "h": 67.5,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.94419,
    "c": 0.12895,
    "h": 114.7
  },
  "luminance": 0.85997
}

Semantic roles & 50–950 ramp

primary
#EAF78F
secondary
#6555D5
accent
#02E31E
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EAF78F

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

Preview Lab → · Contrast checker → · Palette generator →

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