#EAF771#EAF771

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

Color values

HEX#EAF771
RGBrgb(234, 247, 113)
HSLhsl(66, 89%, 71%)
HSVhsv(66, 54%, 97%)
CMYKcmyk(5.3%, 0%, 54.3%, 3.1%)
CIE-LABlab(93.97, -22.11, 61.87)
CIE-LCHlch(93.97, 65.70, 109.67°)
OKLaboklab(94.04% -0.0644 0.1443)
OKLCHoklch(94.04% 0.158 114.1)
XYZxyz(70.1745, 85.2073, 28.3695)
Luminance0.8521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF771 #7E71F7
analogous
#F7C171 #EAF771 #A7F771
triadic
#EAF771 #71EAF7 #F771EA
tetradic
#EAF771 #71F7C1 #7E71F7 #F771A7
square
#EAF771 #71F7C1 #7E71F7 #F771A7
split-complementary
#EAF771 #71A7F7 #C171F7
monochromatic
#CCE10D #E1F437 #EAF771 #F3FAAB #FBFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EAF771#FFFFFF#000000##000000
##EAF7711.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)
#FFEC63
Deuteranopia (green-blind)
#FFEF79
Tritanopia (blue-blind)
#F7EAD9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #eaf771;
/* rgb */ color: rgb(234, 247, 113);
/* oklch */ color: oklch(94.0% 0.158 114.1);
Tailwind
colors: {
  custom: {
    50: '#f3f99e',
    500: '#eaf771',
    950: '#000000',
  },
}
SCSS
$custom: #eaf771;
$custom-light: #f3f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf771",
  "rgb": {
    "r": 234,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 65.821,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.94038,
    "c": 0.15799,
    "h": 114.1
  },
  "luminance": 0.85206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EAF771

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

Preview Lab → · Contrast checker → · Palette generator →

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