#EAF862#EAF862

#EAF862 is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.1% C 0.171 H 114.2°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#EAF862
RGBrgb(234, 248, 98)
HSLhsl(66, 91%, 68%)
HSVhsv(66, 60%, 97%)
CMYKcmyk(5.6%, 0%, 60.5%, 2.7%)
CIE-LABlab(94.10, -23.68, 68.37)
CIE-LCHlch(94.10, 72.36, 109.10°)
OKLaboklab(94.1% -0.0703 0.1564)
OKLCHoklch(94.1% 0.171 114.2)
XYZxyz(69.7053, 85.5103, 24.3860)
Luminance0.8551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF862 #7062F8
analogous
#F8BB62 #EAF862 #9FF862
triadic
#EAF862 #62EAF8 #F862EA
tetradic
#EAF862 #62F8BB #7062F8 #F8629F
square
#EAF862 #62F8BB #7062F8 #F8629F
split-complementary
#EAF862 #629FF8 #BB62F8
monochromatic
#C3D60A #E2F527 #EAF862 #F2FB9D #FAFDD7

Accessibility & contrast

On white

1.16
#EAF862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.10
#EAF862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF862
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF862#FFFFFF#000000##000000
##EAF8621.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED50
Deuteranopia (green-blind)
#FFF06C
Tritanopia (blue-blind)
#F8EBD8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #eaf862;
/* rgb */ color: rgb(234, 248, 98);
/* oklch */ color: oklch(94.1% 0.171 114.2);
Tailwind
colors: {
  custom: {
    50: '#f4fa95',
    500: '#eaf862',
    950: '#000000',
  },
}
SCSS
$custom: #eaf862;
$custom-light: #f4fa95;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf862",
  "rgb": {
    "r": 234,
    "g": 248,
    "b": 98
  },
  "hsl": {
    "h": 65.6,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.94099,
    "c": 0.17146,
    "h": 114.2
  },
  "luminance": 0.85509
}

Semantic roles & 50–950 ramp

primary
#EAF862
secondary
#3D2ED0
accent
#00E615
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EAF862

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

Preview Lab → · Contrast checker → · Palette generator →

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