#EAF772#EAF772

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

Color values

HEX#EAF772
RGBrgb(234, 247, 114)
HSLhsl(66, 89%, 71%)
HSVhsv(66, 54%, 97%)
CMYKcmyk(5.3%, 0%, 53.8%, 3.1%)
CIE-LABlab(93.98, -22.03, 61.44)
CIE-LCHlch(93.98, 65.27, 109.73°)
OKLaboklab(94.05% -0.0641 0.1434)
OKLCHoklch(94.05% 0.157 114.1)
XYZxyz(70.2311, 85.2300, 28.6677)
Luminance0.8523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF772 #7F72F7
analogous
#F7C272 #EAF772 #A7F772
triadic
#EAF772 #72EAF7 #F772EA
tetradic
#EAF772 #72F7C2 #7F72F7 #F772A7
square
#EAF772 #72F7C2 #7F72F7 #F772A7
split-complementary
#EAF772 #72A7F7 #C272F7
monochromatic
#CDE20D #E1F438 #EAF772 #F3FAAC #FBFDE2

Accessibility & contrast

On white

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

On black

18.05
#EAF772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF772
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF772#FFFFFF#000000##000000
##EAF7721.001.1618.0518.05
#FFFFFF1.161.0021.0021.00
#00000018.0521.001.001.00
##00000018.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC65
Deuteranopia (green-blind)
#FFEF7A
Tritanopia (blue-blind)
#F7EADA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #eaf772;
/* rgb */ color: rgb(234, 247, 114);
/* oklch */ color: oklch(94.0% 0.157 114.1);
Tailwind
colors: {
  custom: {
    50: '#f3f99e',
    500: '#eaf772',
    950: '#000000',
  },
}
SCSS
$custom: #eaf772;
$custom-light: #f3f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf772",
  "rgb": {
    "r": 234,
    "g": 247,
    "b": 114
  },
  "hsl": {
    "h": 65.865,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94049,
    "c": 0.15711,
    "h": 114.1
  },
  "luminance": 0.85229
}

Semantic roles & 50–950 ramp

primary
#EAF772
secondary
#4A3BD2
accent
#00E616
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF772

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

Preview Lab → · Contrast checker → · Palette generator →

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