#E7F162#E7F162

#E7F162 is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.4% C 0.165 H 112.9°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#E7F162
RGBrgb(231, 241, 98)
HSLhsl(64, 84%, 66%)
HSVhsv(64, 59%, 95%)
CMYKcmyk(4.1%, 0%, 59.3%, 5.5%)
CIE-LABlab(92.03, -21.53, 66.07)
CIE-LCHlch(92.03, 69.49, 108.05°)
OKLaboklab(92.39% -0.0641 0.1516)
OKLCHoklch(92.39% 0.165 112.9)
XYZxyz(66.6165, 80.7827, 23.6363)
Luminance0.8078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F162 #6C62F1
analogous
#F1B462 #E7F162 #A0F162
triadic
#E7F162 #62E7F1 #F162E7
tetradic
#E7F162 #62F1B4 #6C62F1 #F162A0
square
#E7F162 #62F1B4 #6C62F1 #F162A0
split-complementary
#E7F162 #62A0F1 #B462F1
monochromatic
#BAC712 #DEEC2A #E7F162 #F0F69A #F8FBD2

Accessibility & contrast

On white

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

On black

17.16
#E7F162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F162
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F162#FFFFFF#000000##000000
##E7F1621.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7f162;
/* rgb */ color: rgb(231, 241, 98);
/* oklch */ color: oklch(92.4% 0.165 112.9);
Tailwind
colors: {
  custom: {
    50: '#f1f594',
    500: '#e7f162',
    950: '#000000',
  },
}
SCSS
$custom: #e7f162;
$custom-light: #f1f594;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f162",
  "rgb": {
    "r": 231,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 64.196,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.9239,
    "c": 0.16455,
    "h": 112.9
  },
  "luminance": 0.80781
}

Semantic roles & 50–950 ramp

primary
#E7F162
secondary
#3D33C4
accent
#05E015
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #E7F162

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

Preview Lab → · Contrast checker → · Palette generator →

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