#E8E156#E8E156

#E8E156 is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 89.0% C 0.157 H 106.4°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#E8E156
RGBrgb(232, 225, 86)
HSLhsl(57, 76%, 62%)
HSVhsv(57, 63%, 91%)
CMYKcmyk(0%, 3%, 62.9%, 9%)
CIE-LABlab(87.81, -14.11, 66.49)
CIE-LCHlch(87.81, 67.97, 101.98°)
OKLaboklab(89.01% -0.0445 0.1508)
OKLCHoklch(89.01% 0.157 106.4)
XYZxyz(61.8858, 71.6802, 19.3781)
Luminance0.7168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E156 #565DE8
analogous
#E89856 #E8E156 #A6E856
triadic
#E8E156 #56E8E1 #E156E8
tetradic
#E8E156 #56E898 #565DE8 #E856A6
square
#E8E156 #56E898 #565DE8 #E856A6
split-complementary
#E8E156 #56A6E8 #9856E8
monochromatic
#ACA517 #E1D720 #E8E156 #EFEB8C #F7F4C2

Accessibility & contrast

On white

1.37
#E8E156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.34
#E8E156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E156
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E156#FFFFFF#000000##000000
##E8E1561.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D944
Deuteranopia (green-blind)
#F6DF5E
Tritanopia (blue-blind)
#F8D3C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e8e156;
/* rgb */ color: rgb(232, 225, 86);
/* oklch */ color: oklch(89.0% 0.157 106.4);
Tailwind
colors: {
  custom: {
    50: '#f3ea8c',
    500: '#e8e156',
    950: '#000000',
  },
}
SCSS
$custom: #e8e156;
$custom-light: #f3ea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e156",
  "rgb": {
    "r": 232,
    "g": 225,
    "b": 86
  },
  "hsl": {
    "h": 57.123,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.89009,
    "c": 0.15721,
    "h": 106.4
  },
  "luminance": 0.71678
}

Semantic roles & 50–950 ramp

primary
#E8E156
secondary
#353BAD
accent
#17D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E8E156

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

Preview Lab → · Contrast checker → · Palette generator →

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