#EAF562#EAF562

#EAF562 is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.5% C 0.168 H 113.2°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#EAF562
RGBrgb(234, 245, 98)
HSLhsl(64, 88%, 67%)
HSVhsv(64, 60%, 96%)
CMYKcmyk(4.5%, 0%, 60%, 3.9%)
CIE-LABlab(93.31, -22.25, 67.52)
CIE-LCHlch(93.31, 71.09, 108.24°)
OKLaboklab(93.47% -0.0663 0.1546)
OKLCHoklch(93.47% 0.168 113.2)
XYZxyz(68.7904, 83.6804, 24.0811)
Luminance0.8368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF562 #6D62F5
analogous
#F5B762 #EAF562 #A0F562
triadic
#EAF562 #62EAF5 #F562EA
tetradic
#EAF562 #62F5B7 #6D62F5 #F562A0
square
#EAF562 #62F5B7 #6D62F5 #F562A0
split-complementary
#EAF562 #62A0F5 #B762F5
monochromatic
#C1CF0D #E2F128 #EAF562 #F2F99C #F9FCD5

Accessibility & contrast

On white

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

On black

17.74
#EAF562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF562
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF562#FFFFFF#000000##000000
##EAF5621.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA51
Deuteranopia (green-blind)
#FFED6B
Tritanopia (blue-blind)
#F8E8D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #eaf562;
/* rgb */ color: rgb(234, 245, 98);
/* oklch */ color: oklch(93.5% 0.168 113.2);
Tailwind
colors: {
  custom: {
    50: '#f4f894',
    500: '#eaf562',
    950: '#000000',
  },
}
SCSS
$custom: #eaf562;
$custom-light: #f4f894;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf562",
  "rgb": {
    "r": 234,
    "g": 245,
    "b": 98
  },
  "hsl": {
    "h": 64.49,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.93466,
    "c": 0.16819,
    "h": 113.2
  },
  "luminance": 0.83679
}

Semantic roles & 50–950 ramp

primary
#EAF562
secondary
#3C30CB
accent
#01E512
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EAF562

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

Preview Lab → · Contrast checker → · Palette generator →

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