#E9E772#E9E772

#E9E772 is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 90.6% C 0.140 H 108.0°. Best body text is #000000 at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#E9E772
RGBrgb(233, 231, 114)
HSLhsl(59, 73%, 68%)
HSVhsv(59, 51%, 91%)
CMYKcmyk(0%, 0.9%, 51.1%, 8.6%)
CIE-LABlab(89.72, -14.66, 56.48)
CIE-LCHlch(89.72, 58.35, 104.55°)
OKLaboklab(90.63% -0.0431 0.1327)
OKLCHoklch(90.63% 0.14 108)
XYZxyz(65.2191, 75.6921, 27.0908)
Luminance0.7569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9E772 #7274E9
analogous
#E9AC72 #E9E772 #AFE972
triadic
#E9E772 #72E9E7 #E772E9
tetradic
#E9E772 #72E9AC #7274E9 #E972AF
square
#E9E772 #72E9AC #7274E9 #E972AF
split-complementary
#E9E772 #72AFE9 #AC72E9
monochromatic
#C2C01E #E1DE3D #E9E772 #F1F0A7 #FAF9DC

Accessibility & contrast

On white

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

On black

16.14
#E9E772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9E772
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9E772#FFFFFF#000000##000000
##E9E7721.001.3016.1416.14
#FFFFFF1.301.0021.0021.00
#00000016.1421.001.001.00
##00000016.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF67
Deuteranopia (green-blind)
#F9E478
Tritanopia (blue-blind)
#F7DBCD
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e9e772;
/* rgb */ color: rgb(233, 231, 114);
/* oklch */ color: oklch(90.6% 0.140 108.0);
Tailwind
colors: {
  custom: {
    50: '#f2ee9d',
    500: '#e9e772',
    950: '#000000',
  },
}
SCSS
$custom: #e9e772;
$custom-light: #f2ee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e9e772",
  "rgb": {
    "r": 233,
    "g": 231,
    "b": 114
  },
  "hsl": {
    "h": 58.992,
    "s": 73.006,
    "l": 68.039
  },
  "oklch": {
    "l": 0.90626,
    "c": 0.13956,
    "h": 108
  },
  "luminance": 0.7569
}

Semantic roles & 50–950 ramp

primary
#E9E772
secondary
#3E41C1
accent
#14D510
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E9E772

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

Preview Lab → · Contrast checker → · Palette generator →

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