#EAF962#EAF962

#EAF962 is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.3% C 0.173 H 114.5°. Best body text is #000000 at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#EAF962
RGBrgb(234, 249, 98)
HSLhsl(66, 93%, 68%)
HSVhsv(66, 61%, 98%)
CMYKcmyk(6%, 0%, 60.6%, 2.4%)
CIE-LABlab(94.37, -24.16, 68.66)
CIE-LCHlch(94.37, 72.78, 109.38°)
OKLaboklab(94.31% -0.0717 0.157)
OKLCHoklch(94.31% 0.173 114.5)
XYZxyz(70.0136, 86.1268, 24.4888)
Luminance0.8613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF962 #7162F9
analogous
#F9BC62 #EAF962 #9FF962
triadic
#EAF962 #62EAF9 #F962EA
tetradic
#EAF962 #62F9BC #7162F9 #F9629F
square
#EAF962 #62F9BC #7162F9 #F9629F
split-complementary
#EAF962 #629FF9 #BC62F9
monochromatic
#C4D808 #E2F727 #EAF962 #F2FB9D #FAFED8

Accessibility & contrast

On white

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

On black

18.23
#EAF962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF962
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF962#FFFFFF#000000##000000
##EAF9621.001.1518.2318.23
#FFFFFF1.151.0021.0021.00
#00000018.2321.001.001.00
##00000018.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE50
Deuteranopia (green-blind)
#FFF06C
Tritanopia (blue-blind)
#F8ECD9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #eaf962;
/* rgb */ color: rgb(234, 249, 98);
/* oklch */ color: oklch(94.3% 0.173 114.5);
Tailwind
colors: {
  custom: {
    50: '#f4fb95',
    500: '#eaf962',
    950: '#000000',
  },
}
SCSS
$custom: #eaf962;
$custom-light: #f4fb95;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf962",
  "rgb": {
    "r": 234,
    "g": 249,
    "b": 98
  },
  "hsl": {
    "h": 65.96,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.9431,
    "c": 0.17257,
    "h": 114.5
  },
  "luminance": 0.86126
}

Semantic roles & 50–950 ramp

primary
#EAF962
secondary
#3D2DD2
accent
#00E617
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EAF962

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

Preview Lab → · Contrast checker → · Palette generator →

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