#E8E772#E8E772

#E8E772 is a very light, vivid yellow. Relative luminance 0.755; OKLCH L 90.5% C 0.140 H 108.5°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#E8E772
RGBrgb(232, 231, 114)
HSLhsl(59, 72%, 68%)
HSVhsv(59, 51%, 91%)
CMYKcmyk(0%, 0.4%, 50.9%, 9%)
CIE-LABlab(89.64, -15.06, 56.37)
CIE-LCHlch(89.64, 58.34, 104.96°)
OKLaboklab(90.54% -0.0442 0.1325)
OKLCHoklch(90.54% 0.14 108.5)
XYZxyz(64.8935, 75.5242, 27.0755)
Luminance0.7552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E772 #7273E8
analogous
#E8AC72 #E8E772 #AEE872
triadic
#E8E772 #72E8E7 #E772E8
tetradic
#E8E772 #72E8AC #7273E8 #E872AE
square
#E8E772 #72E8AC #7273E8 #E872AE
split-complementary
#E8E772 #72AEE8 #AC72E8
monochromatic
#C0BF1F #DFDE3D #E8E772 #F1F0A7 #F9F9DB

Accessibility & contrast

On white

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

On black

16.10
#E8E772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E772
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E772#FFFFFF#000000##000000
##E8E7721.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF67
Deuteranopia (green-blind)
#F9E378
Tritanopia (blue-blind)
#F6DBCD
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e8e772;
/* rgb */ color: rgb(232, 231, 114);
/* oklch */ color: oklch(90.5% 0.140 108.5);
Tailwind
colors: {
  custom: {
    50: '#f1ee9d',
    500: '#e8e772',
    950: '#000000',
  },
}
SCSS
$custom: #e8e772;
$custom-light: #f1ee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e772",
  "rgb": {
    "r": 232,
    "g": 231,
    "b": 114
  },
  "hsl": {
    "h": 59.492,
    "s": 71.951,
    "l": 67.843
  },
  "oklch": {
    "l": 0.90544,
    "c": 0.13969,
    "h": 108.5
  },
  "luminance": 0.75523
}

Semantic roles & 50–950 ramp

primary
#E8E772
secondary
#3F40BF
accent
#13D411
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E8E772

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

Preview Lab → · Contrast checker → · Palette generator →

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