#EAF471#EAF471

#EAF471 is a very light, vivid yellow. Relative luminance 0.834; OKLCH L 93.4% C 0.155 H 113.0°. Best body text is #000000 at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#EAF471
RGBrgb(234, 244, 113)
HSLhsl(65, 86%, 70%)
HSVhsv(65, 54%, 96%)
CMYKcmyk(4.1%, 0%, 53.7%, 4.3%)
CIE-LABlab(93.18, -20.67, 60.96)
CIE-LCHlch(93.18, 64.37, 108.73°)
OKLaboklab(93.41% -0.0604 0.1423)
OKLCHoklch(93.41% 0.155 113)
XYZxyz(69.2645, 83.3873, 28.0662)
Luminance0.8339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF471 #7B71F4
analogous
#F4BC71 #EAF471 #A9F471
triadic
#EAF471 #71EAF4 #F471EA
tetradic
#EAF471 #71F4BC #7B71F4 #F471A9
square
#EAF471 #71F4BC #7B71F4 #F471A9
split-complementary
#EAF471 #71A9F4 #BC71F4
monochromatic
#CADA11 #E2F038 #EAF471 #F2F8AA #FBFDE3

Accessibility & contrast

On white

1.19
#EAF471 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.68
#EAF471 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF471
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF471#FFFFFF#000000##000000
##EAF4711.001.1917.6817.68
#FFFFFF1.191.0021.0021.00
#00000017.6821.001.001.00
##00000017.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA64
Deuteranopia (green-blind)
#FFED78
Tritanopia (blue-blind)
#F7E7D7
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #eaf471;
/* rgb */ color: rgb(234, 244, 113);
/* oklch */ color: oklch(93.4% 0.155 113.0);
Tailwind
colors: {
  custom: {
    50: '#f3f79e',
    500: '#eaf471',
    950: '#000000',
  },
}
SCSS
$custom: #eaf471;
$custom-light: #f3f79e;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf471",
  "rgb": {
    "r": 234,
    "g": 244,
    "b": 113
  },
  "hsl": {
    "h": 64.58,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.93407,
    "c": 0.15458,
    "h": 113
  },
  "luminance": 0.83386
}

Semantic roles & 50–950 ramp

primary
#EAF471
secondary
#463BCE
accent
#03E214
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF471

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

Preview Lab → · Contrast checker → · Palette generator →

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