#E8E862#E8E862

#E8E862 is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 90.6% C 0.155 H 109.1°. Best body text is #000000 at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#E8E862
RGBrgb(232, 232, 98)
HSLhsl(60, 74%, 65%)
HSVhsv(60, 58%, 91%)
CMYKcmyk(0%, 0%, 57.8%, 9%)
CIE-LABlab(89.74, -16.77, 63.58)
CIE-LCHlch(89.74, 65.75, 104.78°)
OKLaboklab(90.58% -0.0507 0.1462)
OKLCHoklch(90.58% 0.155 109.1)
XYZxyz(64.3418, 75.7526, 22.7853)
Luminance0.7575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E862 #6262E8
analogous
#E8A562 #E8E862 #A5E862
triadic
#E8E862 #62E8E8 #E862E8
tetradic
#E8E862 #62E8A5 #6262E8 #E862A5
square
#E8E862 #62E8A5 #6262E8 #E862A5
split-complementary
#E8E862 #62A5E8 #A562E8
monochromatic
#B5B51B #E0E02D #E8E862 #F0F097 #F8F8CD

Accessibility & contrast

On white

1.30
#E8E862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.15
#E8E862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E862
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E862#FFFFFF#000000##000000
##E8E8621.001.3016.1516.15
#FFFFFF1.301.0021.0021.00
#00000016.1521.001.001.00
##00000016.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF53
Deuteranopia (green-blind)
#FBE46A
Tritanopia (blue-blind)
#F7DBCB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e8e862;
/* rgb */ color: rgb(232, 232, 98);
/* oklch */ color: oklch(90.6% 0.155 109.1);
Tailwind
colors: {
  custom: {
    50: '#f2ef93',
    500: '#e8e862',
    950: '#000000',
  },
}
SCSS
$custom: #e8e862;
$custom-light: #f2ef93;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e862",
  "rgb": {
    "r": 232,
    "g": 232,
    "b": 98
  },
  "hsl": {
    "h": 60,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.90579,
    "c": 0.15479,
    "h": 109.1
  },
  "luminance": 0.75751
}

Semantic roles & 50–950 ramp

primary
#E8E862
secondary
#3939B5
accent
#0FD70F
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E8E862

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

Preview Lab → · Contrast checker → · Palette generator →

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