#E2E162#E2E162

#E2E162 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.6% C 0.148 H 108.7°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#E2E162
RGBrgb(226, 225, 98)
HSLhsl(60, 69%, 64%)
HSVhsv(60, 57%, 89%)
CMYKcmyk(0%, 0.4%, 56.6%, 11.4%)
CIE-LABlab(87.44, -15.76, 60.89)
CIE-LCHlch(87.44, 62.90, 104.51°)
OKLaboklab(88.63% -0.0475 0.1406)
OKLCHoklch(88.63% 0.148 108.7)
XYZxyz(60.4956, 70.9027, 22.0518)
Luminance0.7090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E162 #6263E2
analogous
#E2A162 #E2E162 #A3E262
triadic
#E2E162 #62E2E1 #E162E2
tetradic
#E2E162 #62E2A1 #6263E2 #E262A3
square
#E2E162 #62E2A1 #6263E2 #E262A3
split-complementary
#E2E162 #62A3E2 #A162E2
monochromatic
#AAA91F #D8D72E #E2E162 #ECEB96 #F5F5C9

Accessibility & contrast

On white

1.38
#E2E162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.18
#E2E162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E162
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E162#FFFFFF#000000##000000
##E2E1621.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D954
Deuteranopia (green-blind)
#F3DD69
Tritanopia (blue-blind)
#F0D4C5
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e2e162;
/* rgb */ color: rgb(226, 225, 98);
/* oklch */ color: oklch(88.6% 0.148 108.7);
Tailwind
colors: {
  custom: {
    50: '#eeea93',
    500: '#e2e162',
    950: '#000000',
  },
}
SCSS
$custom: #e2e162;
$custom-light: #eeea93;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e162",
  "rgb": {
    "r": 226,
    "g": 225,
    "b": 98
  },
  "hsl": {
    "h": 59.531,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.88625,
    "c": 0.14844,
    "h": 108.7
  },
  "luminance": 0.70901
}

Semantic roles & 50–950 ramp

primary
#E2E162
secondary
#3C3DAC
accent
#16D115
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E2E162

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

Preview Lab → · Contrast checker → · Palette generator →

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