#EAF372#EAF372

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

Color values

HEX#EAF372
RGBrgb(234, 243, 114)
HSLhsl(64, 84%, 70%)
HSVhsv(64, 53%, 95%)
CMYKcmyk(3.7%, 0%, 53.1%, 4.7%)
CIE-LABlab(92.93, -20.11, 60.23)
CIE-LCHlch(92.93, 63.50, 108.47°)
OKLaboklab(93.21% -0.0587 0.1408)
OKLCHoklch(93.21% 0.153 112.6)
XYZxyz(69.0210, 82.8098, 28.2643)
Luminance0.8281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF372 #7B72F3
analogous
#F3BB72 #EAF372 #AAF372
triadic
#EAF372 #72EAF3 #F372EA
tetradic
#EAF372 #72F3BB #7B72F3 #F372AA
square
#EAF372 #72F3BB #7B72F3 #F372AA
split-complementary
#EAF372 #72AAF3 #BB72F3
monochromatic
#CAD812 #E2EE3A #EAF372 #F2F8AA #FBFDE3

Accessibility & contrast

On white

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

On black

17.56
#EAF372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF372
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF372#FFFFFF#000000##000000
##EAF3721.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE965
Deuteranopia (green-blind)
#FFEC79
Tritanopia (blue-blind)
#F7E6D6
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #eaf372;
/* rgb */ color: rgb(234, 243, 114);
/* oklch */ color: oklch(93.2% 0.153 112.6);
Tailwind
colors: {
  custom: {
    50: '#f3f69e',
    500: '#eaf372',
    950: '#000000',
  },
}
SCSS
$custom: #eaf372;
$custom-light: #f3f69e;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf372",
  "rgb": {
    "r": 234,
    "g": 243,
    "b": 114
  },
  "hsl": {
    "h": 64.186,
    "s": 84.314,
    "l": 70
  },
  "oklch": {
    "l": 0.93209,
    "c": 0.15257,
    "h": 112.6
  },
  "luminance": 0.82809
}

Semantic roles & 50–950 ramp

primary
#EAF372
secondary
#463CCD
accent
#05E114
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF372

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

Preview Lab → · Contrast checker → · Palette generator →

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