#E4F162#E4F162

#E4F162 is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.2% C 0.165 H 114.0°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#E4F162
RGBrgb(228, 241, 98)
HSLhsl(65, 84%, 66%)
HSVhsv(65, 59%, 95%)
CMYKcmyk(5.4%, 0%, 59.3%, 5.5%)
CIE-LABlab(91.81, -22.72, 65.76)
CIE-LCHlch(91.81, 69.58, 109.06°)
OKLaboklab(92.16% -0.0673 0.151)
OKLCHoklch(92.16% 0.165 114)
XYZxyz(65.6563, 80.2876, 23.5913)
Luminance0.8029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4F162 #6F62F1
analogous
#F1B762 #E4F162 #9DF162
triadic
#E4F162 #62E4F1 #F162E4
tetradic
#E4F162 #62F1B7 #6F62F1 #F1629D
square
#E4F162 #62F1B7 #6F62F1 #F1629D
split-complementary
#E4F162 #629DF1 #B762F1
monochromatic
#B6C712 #DAEC2A #E4F162 #EEF69A #F7FBD2

Accessibility & contrast

On white

1.23
#E4F162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.06
#E4F162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4F162
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4F162#FFFFFF#000000##000000
##E4F1621.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE651
Deuteranopia (green-blind)
#FFE96B
Tritanopia (blue-blind)
#F2E4D3
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #e4f162;
/* rgb */ color: rgb(228, 241, 98);
/* oklch */ color: oklch(92.2% 0.165 114.0);
Tailwind
colors: {
  custom: {
    50: '#eff594',
    500: '#e4f162',
    950: '#000000',
  },
}
SCSS
$custom: #e4f162;
$custom-light: #eff594;
$custom-dark: #000000;
JSON
{
  "hex": "#e4f162",
  "rgb": {
    "r": 228,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 65.455,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92158,
    "c": 0.16528,
    "h": 114
  },
  "luminance": 0.80286
}

Semantic roles & 50–950 ramp

primary
#E4F162
secondary
#4033C4
accent
#05E019
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #E4F162

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

Preview Lab → · Contrast checker → · Palette generator →

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