#EAF770#EAF770

#EAF770 is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.0% C 0.159 H 114.1°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#EAF770
RGBrgb(234, 247, 112)
HSLhsl(66, 89%, 70%)
HSVhsv(66, 55%, 97%)
CMYKcmyk(5.3%, 0%, 54.7%, 3.1%)
CIE-LABlab(93.96, -22.19, 62.29)
CIE-LCHlch(93.96, 66.13, 109.61°)
OKLaboklab(94.03% -0.0647 0.1451)
OKLCHoklch(94.03% 0.159 114.1)
XYZxyz(70.1185, 85.1850, 28.0747)
Luminance0.8518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF770 #7D70F7
analogous
#F7C170 #EAF770 #A6F770
triadic
#EAF770 #70EAF7 #F770EA
tetradic
#EAF770 #70F7C1 #7D70F7 #F770A6
square
#EAF770 #70F7C1 #7D70F7 #F770A6
split-complementary
#EAF770 #70A6F7 #C170F7
monochromatic
#CCE00D #E1F436 #EAF770 #F3FAAA #FBFDE2

Accessibility & contrast

On white

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

On black

18.04
#EAF770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF770
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF770#FFFFFF#000000##000000
##EAF7701.001.1618.0418.04
#FFFFFF1.161.0021.0021.00
#00000018.0421.001.001.00
##00000018.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC62
Deuteranopia (green-blind)
#FFEF78
Tritanopia (blue-blind)
#F7EAD9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #eaf770;
/* rgb */ color: rgb(234, 247, 112);
/* oklch */ color: oklch(94.0% 0.159 114.1);
Tailwind
colors: {
  custom: {
    50: '#f3f99d',
    500: '#eaf770',
    950: '#000000',
  },
}
SCSS
$custom: #eaf770;
$custom-light: #f3f99d;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf770",
  "rgb": {
    "r": 234,
    "g": 247,
    "b": 112
  },
  "hsl": {
    "h": 65.778,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.94027,
    "c": 0.15886,
    "h": 114.1
  },
  "luminance": 0.85184
}

Semantic roles & 50–950 ramp

primary
#EAF770
secondary
#483AD2
accent
#00E616
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF770

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

Preview Lab → · Contrast checker → · Palette generator →

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