#E8E462#E8E462

#E8E462 is a very light, vivid yellow. Relative luminance 0.735; OKLCH L 89.7% C 0.151 H 107.4°. Best body text is #000000 at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#E8E462
RGBrgb(232, 228, 98)
HSLhsl(58, 74%, 65%)
HSVhsv(58, 58%, 91%)
CMYKcmyk(0%, 1.7%, 57.8%, 9%)
CIE-LABlab(88.70, -14.81, 62.42)
CIE-LCHlch(88.70, 64.16, 103.34°)
OKLaboklab(89.74% -0.0451 0.1438)
OKLCHoklch(89.74% 0.151 107.4)
XYZxyz(63.2287, 73.5263, 22.4142)
Luminance0.7352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E462 #6266E8
analogous
#E8A162 #E8E462 #A9E862
triadic
#E8E462 #62E8E4 #E462E8
tetradic
#E8E462 #62E8A1 #6266E8 #E862A9
square
#E8E462 #62E8A1 #6266E8 #E862A9
split-complementary
#E8E462 #62A9E8 #A162E8
monochromatic
#B5B01B #E0DB2D #E8E462 #F0ED97 #F8F6CD

Accessibility & contrast

On white

1.34
#E8E462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.70
#E8E462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E462
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E462#FFFFFF#000000##000000
##E8E4621.001.3415.7015.70
#FFFFFF1.341.0021.0021.00
#00000015.7021.001.001.00
##00000015.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC54
Deuteranopia (green-blind)
#F8E169
Tritanopia (blue-blind)
#F7D7C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e8e462;
/* rgb */ color: rgb(232, 228, 98);
/* oklch */ color: oklch(89.7% 0.151 107.4);
Tailwind
colors: {
  custom: {
    50: '#f2ec93',
    500: '#e8e462',
    950: '#000000',
  },
}
SCSS
$custom: #e8e462;
$custom-light: #f2ec93;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e462",
  "rgb": {
    "r": 232,
    "g": 228,
    "b": 98
  },
  "hsl": {
    "h": 58.209,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.89745,
    "c": 0.1507,
    "h": 107.4
  },
  "luminance": 0.73524
}

Semantic roles & 50–950 ramp

primary
#E8E462
secondary
#393DB5
accent
#15D70F
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E8E462

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

Preview Lab → · Contrast checker → · Palette generator →

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