#EAF571#EAF571

#EAF571 is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 93.6% C 0.156 H 113.4°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#EAF571
RGBrgb(234, 245, 113)
HSLhsl(65, 87%, 70%)
HSVhsv(65, 54%, 96%)
CMYKcmyk(4.5%, 0%, 53.9%, 3.9%)
CIE-LABlab(93.45, -21.15, 61.27)
CIE-LCHlch(93.45, 64.81, 109.05°)
OKLaboklab(93.62% -0.0617 0.143)
OKLCHoklch(93.62% 0.156 113.4)
XYZxyz(69.5662, 83.9907, 28.1668)
Luminance0.8399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF571 #7C71F5
analogous
#F5BE71 #EAF571 #A8F571
triadic
#EAF571 #71EAF5 #F571EA
tetradic
#EAF571 #71F5BE #7C71F5 #F571A8
square
#EAF571 #71F5BE #7C71F5 #F571A8
split-complementary
#EAF571 #71A8F5 #BE71F5
monochromatic
#CBDC10 #E2F138 #EAF571 #F2F9AA #FBFDE2

Accessibility & contrast

On white

1.18
#EAF571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.80
#EAF571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF571
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF571#FFFFFF#000000##000000
##EAF5711.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB64
Deuteranopia (green-blind)
#FFEE78
Tritanopia (blue-blind)
#F7E8D8
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #eaf571;
/* rgb */ color: rgb(234, 245, 113);
/* oklch */ color: oklch(93.6% 0.156 113.4);
Tailwind
colors: {
  custom: {
    50: '#f3f89e',
    500: '#eaf571',
    950: '#000000',
  },
}
SCSS
$custom: #eaf571;
$custom-light: #f3f89e;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf571",
  "rgb": {
    "r": 234,
    "g": 245,
    "b": 113
  },
  "hsl": {
    "h": 65,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.93617,
    "c": 0.15571,
    "h": 113.4
  },
  "luminance": 0.83989
}

Semantic roles & 50–950 ramp

primary
#EAF571
secondary
#473BCF
accent
#02E315
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF571

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

Preview Lab → · Contrast checker → · Palette generator →

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