#E8E062#E8E062

#E8E062 is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 88.9% C 0.147 H 105.6°. Best body text is #000000 at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#E8E062
RGBrgb(232, 224, 98)
HSLhsl(56, 74%, 65%)
HSVhsv(56, 58%, 91%)
CMYKcmyk(0%, 3.4%, 57.8%, 9%)
CIE-LABlab(87.66, -12.83, 61.26)
CIE-LCHlch(87.66, 62.59, 101.83°)
OKLaboklab(88.92% -0.0395 0.1413)
OKLCHoklch(88.92% 0.147 105.6)
XYZxyz(62.1410, 71.3510, 22.0517)
Luminance0.7135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E062 #626AE8
analogous
#E89D62 #E8E062 #ADE862
triadic
#E8E062 #62E8E0 #E062E8
tetradic
#E8E062 #62E89D #626AE8 #E862AD
square
#E8E062 #62E89D #626AE8 #E862AD
split-complementary
#E8E062 #62ADE8 #9D62E8
monochromatic
#B5AC1B #E0D52D #E8E062 #F0EB97 #F8F5CD

Accessibility & contrast

On white

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

On black

15.27
#E8E062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E062
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E062#FFFFFF#000000##000000
##E8E0621.001.3815.2715.27
#FFFFFF1.381.0021.0021.00
#00000015.2721.001.001.00
##00000015.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D954
Deuteranopia (green-blind)
#F5DE69
Tritanopia (blue-blind)
#F7D3C5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e8e062;
/* rgb */ color: rgb(232, 224, 98);
/* oklch */ color: oklch(88.9% 0.147 105.6);
Tailwind
colors: {
  custom: {
    50: '#f2e993',
    500: '#e8e062',
    950: '#000000',
  },
}
SCSS
$custom: #e8e062;
$custom-light: #f2e993;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e062",
  "rgb": {
    "r": 232,
    "g": 224,
    "b": 98
  },
  "hsl": {
    "h": 56.418,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.88915,
    "c": 0.14673,
    "h": 105.6
  },
  "luminance": 0.71349
}

Semantic roles & 50–950 ramp

primary
#E8E062
secondary
#3940B5
accent
#1BD70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E8E062

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

Preview Lab → · Contrast checker → · Palette generator →

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