#EAF370#EAF370

#EAF370 is a very light, vivid yellow. Relative luminance 0.828; OKLCH L 93.2% C 0.154 H 112.6°. Best body text is #000000 at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#EAF370
RGBrgb(234, 243, 112)
HSLhsl(64, 85%, 70%)
HSVhsv(64, 54%, 95%)
CMYKcmyk(3.7%, 0%, 53.9%, 4.7%)
CIE-LABlab(92.91, -20.27, 61.09)
CIE-LCHlch(92.91, 64.37, 108.36°)
OKLaboklab(93.19% -0.0593 0.1425)
OKLCHoklch(93.19% 0.154 112.6)
XYZxyz(68.9084, 82.7648, 27.6713)
Luminance0.8276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF370 #7970F3
analogous
#F3BB70 #EAF370 #A9F370
triadic
#EAF370 #70EAF3 #F370EA
tetradic
#EAF370 #70F3BB #7970F3 #F370A9
square
#EAF370 #70F3BB #7970F3 #F370A9
split-complementary
#EAF370 #70A9F3 #BB70F3
monochromatic
#C9D712 #E2EE38 #EAF370 #F2F8A8 #FBFCE1

Accessibility & contrast

On white

1.20
#EAF370 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.55
#EAF370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF370
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF370#FFFFFF#000000##000000
##EAF3701.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE963
Deuteranopia (green-blind)
#FFEC77
Tritanopia (blue-blind)
#F8E6D6
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #eaf370;
/* rgb */ color: rgb(234, 243, 112);
/* oklch */ color: oklch(93.2% 0.154 112.6);
Tailwind
colors: {
  custom: {
    50: '#f3f69d',
    500: '#eaf370',
    950: '#000000',
  },
}
SCSS
$custom: #eaf370;
$custom-light: #f3f69d;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf370",
  "rgb": {
    "r": 234,
    "g": 243,
    "b": 112
  },
  "hsl": {
    "h": 64.122,
    "s": 84.516,
    "l": 69.608
  },
  "oklch": {
    "l": 0.93187,
    "c": 0.15435,
    "h": 112.6
  },
  "luminance": 0.82763
}

Semantic roles & 50–950 ramp

primary
#EAF370
secondary
#453BCD
accent
#05E114
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF370

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

Preview Lab → · Contrast checker → · Palette generator →

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