#EAF162#EAF162

#EAF162 is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 92.6% C 0.164 H 111.8°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#EAF162
RGBrgb(234, 241, 98)
HSLhsl(63, 84%, 66%)
HSVhsv(63, 59%, 95%)
CMYKcmyk(2.9%, 0%, 59.3%, 5.5%)
CIE-LABlab(92.26, -20.34, 66.38)
CIE-LCHlch(92.26, 69.42, 107.03°)
OKLaboklab(92.62% -0.0609 0.1521)
OKLCHoklch(92.62% 0.164 111.8)
XYZxyz(67.5934, 81.2863, 23.6821)
Luminance0.8128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF162 #6962F1
analogous
#F1B162 #EAF162 #A3F162
triadic
#EAF162 #62EAF1 #F162EA
tetradic
#EAF162 #62F1B1 #6962F1 #F162A3
square
#EAF162 #62F1B1 #6962F1 #F162A3
split-complementary
#EAF162 #62A3F1 #B162F1
monochromatic
#BEC712 #E2EC2A #EAF162 #F2F69A #F9FBD2

Accessibility & contrast

On white

1.22
#EAF162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#EAF162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF162
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF162#FFFFFF#000000##000000
##EAF1621.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE751
Deuteranopia (green-blind)
#FFEB6B
Tritanopia (blue-blind)
#F9E4D3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #eaf162;
/* rgb */ color: rgb(234, 241, 98);
/* oklch */ color: oklch(92.6% 0.164 111.8);
Tailwind
colors: {
  custom: {
    50: '#f4f594',
    500: '#eaf162',
    950: '#000000',
  },
}
SCSS
$custom: #eaf162;
$custom-light: #f4f594;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf162",
  "rgb": {
    "r": 234,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 62.937,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92624,
    "c": 0.16388,
    "h": 111.8
  },
  "luminance": 0.81285
}

Semantic roles & 50–950 ramp

primary
#EAF162
secondary
#3A33C4
accent
#05E010
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EAF162

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

Preview Lab → · Contrast checker → · Palette generator →

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