#E8F162#E8F162

#E8F162 is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 92.5% C 0.164 H 112.6°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#E8F162
RGBrgb(232, 241, 98)
HSLhsl(64, 84%, 66%)
HSVhsv(64, 59%, 95%)
CMYKcmyk(3.7%, 0%, 59.3%, 5.5%)
CIE-LABlab(92.11, -21.13, 66.17)
CIE-LCHlch(92.11, 69.46, 107.71°)
OKLaboklab(92.47% -0.063 0.1517)
OKLCHoklch(92.47% 0.164 112.6)
XYZxyz(66.9403, 80.9496, 23.6514)
Luminance0.8095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F162 #6B62F1
analogous
#F1B362 #E8F162 #A1F162
triadic
#E8F162 #62E8F1 #F162E8
tetradic
#E8F162 #62F1B3 #6B62F1 #F162A1
square
#E8F162 #62F1B3 #6B62F1 #F162A1
split-complementary
#E8F162 #62A1F1 #B362F1
monochromatic
#BBC712 #E0EC2A #E8F162 #F0F69A #F8FBD2

Accessibility & contrast

On white

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

On black

17.19
#E8F162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F162
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F162#FFFFFF#000000##000000
##E8F1621.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE751
Deuteranopia (green-blind)
#FFEA6B
Tritanopia (blue-blind)
#F6E4D3
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #e8f162;
/* rgb */ color: rgb(232, 241, 98);
/* oklch */ color: oklch(92.5% 0.164 112.6);
Tailwind
colors: {
  custom: {
    50: '#f2f594',
    500: '#e8f162',
    950: '#000000',
  },
}
SCSS
$custom: #e8f162;
$custom-light: #f2f594;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f162",
  "rgb": {
    "r": 232,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 63.776,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92468,
    "c": 0.16432,
    "h": 112.6
  },
  "luminance": 0.80948
}

Semantic roles & 50–950 ramp

primary
#E8F162
secondary
#3C33C4
accent
#05E013
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #E8F162

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

Preview Lab → · Contrast checker → · Palette generator →

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