#E4E162#E4E162

#E4E162 is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 88.8% C 0.148 H 107.8°. Best body text is #000000 at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#E4E162
RGBrgb(228, 225, 98)
HSLhsl(59, 71%, 64%)
HSVhsv(59, 57%, 89%)
CMYKcmyk(0%, 1.3%, 57%, 10.6%)
CIE-LABlab(87.60, -14.95, 61.11)
CIE-LCHlch(87.60, 62.91, 103.74°)
OKLaboklab(88.79% -0.0453 0.1411)
OKLCHoklch(88.79% 0.148 107.8)
XYZxyz(61.1265, 71.2280, 22.0813)
Luminance0.7123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E162 #6265E4
analogous
#E4A062 #E4E162 #A6E462
triadic
#E4E162 #62E4E1 #E162E4
tetradic
#E4E162 #62E4A0 #6265E4 #E462A6
square
#E4E162 #62E4A0 #6265E4 #E462A6
split-complementary
#E4E162 #62A6E4 #A062E4
monochromatic
#AEAA1E #DBD72E #E4E162 #EDEB96 #F6F5CA

Accessibility & contrast

On white

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

On black

15.25
#E4E162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E162
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E162#FFFFFF#000000##000000
##E4E1621.001.3815.2515.25
#FFFFFF1.381.0021.0021.00
#00000015.2521.001.001.00
##00000015.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D954
Deuteranopia (green-blind)
#F4DE69
Tritanopia (blue-blind)
#F3D4C5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e4e162;
/* rgb */ color: rgb(228, 225, 98);
/* oklch */ color: oklch(88.8% 0.148 107.8);
Tailwind
colors: {
  custom: {
    50: '#efea93',
    500: '#e4e162',
    950: '#000000',
  },
}
SCSS
$custom: #e4e162;
$custom-light: #efea93;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e162",
  "rgb": {
    "r": 228,
    "g": 225,
    "b": 98
  },
  "hsl": {
    "h": 58.615,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.8879,
    "c": 0.14816,
    "h": 107.8
  },
  "luminance": 0.71226
}

Semantic roles & 50–950 ramp

primary
#E4E162
secondary
#3B3EAF
accent
#17D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E4E162

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

Preview Lab → · Contrast checker → · Palette generator →

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