#EAF970#EAF970

#EAF970 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.4% C 0.161 H 114.7°. Best body text is #000000 at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#EAF970
RGBrgb(234, 249, 112)
HSLhsl(67, 92%, 71%)
HSVhsv(67, 55%, 98%)
CMYKcmyk(6%, 0%, 55%, 2.4%)
CIE-LABlab(94.49, -23.14, 62.89)
CIE-LCHlch(94.49, 67.02, 110.20°)
OKLaboklab(94.45% -0.0674 0.1464)
OKLCHoklch(94.45% 0.161 114.7)
XYZxyz(70.7334, 86.4147, 28.2796)
Luminance0.8641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF970 #7F70F9
analogous
#F9C370 #EAF970 #A5F970
triadic
#EAF970 #70EAF9 #F970EA
tetradic
#EAF970 #70F9C3 #7F70F9 #F970A5
square
#EAF970 #70F9C3 #7F70F9 #F970A5
split-complementary
#EAF970 #70A5F9 #C370F9
monochromatic
#CDE50A #E1F735 #EAF970 #F3FBAB #FBFEE2

Accessibility & contrast

On white

1.15
#EAF970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.28
#EAF970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF970
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF970#FFFFFF#000000##000000
##EAF9701.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE62
Deuteranopia (green-blind)
#FFF078
Tritanopia (blue-blind)
#F7ECDB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #eaf970;
/* rgb */ color: rgb(234, 249, 112);
/* oklch */ color: oklch(94.4% 0.161 114.7);
Tailwind
colors: {
  custom: {
    50: '#f3fb9d',
    500: '#eaf970',
    950: '#000000',
  },
}
SCSS
$custom: #eaf970;
$custom-light: #f3fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf970",
  "rgb": {
    "r": 234,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 66.569,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94448,
    "c": 0.16114,
    "h": 114.7
  },
  "luminance": 0.86414
}

Semantic roles & 50–950 ramp

primary
#EAF970
secondary
#4A39D4
accent
#00E619
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF970

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

Preview Lab → · Contrast checker → · Palette generator →

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