#E9D772#E9D772

#E9D772 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.3% C 0.124 H 99.4°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#E9D772
RGBrgb(233, 215, 114)
HSLhsl(51, 73%, 68%)
HSVhsv(51, 51%, 91%)
CMYKcmyk(0%, 7.7%, 51.1%, 8.6%)
CIE-LABlab(85.58, -6.67, 51.58)
CIE-LCHlch(85.58, 52.01, 97.37°)
OKLaboklab(87.34% -0.0202 0.1221)
OKLCHoklch(87.34% 0.124 99.4)
XYZxyz(60.9439, 67.1417, 25.6657)
Luminance0.6714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D772 #7284E9
analogous
#E99B72 #E9D772 #C0E972
triadic
#E9D772 #72E9D7 #D772E9
tetradic
#E9D772 #72E99B #7284E9 #E972C0
square
#E9D772 #72E99B #7284E9 #E972C0
split-complementary
#E9D772 #72C0E9 #9B72E9
monochromatic
#C2A91E #E1C83D #E9D772 #F1E6A7 #FAF5DC

Accessibility & contrast

On white

1.46
#E9D772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.43
#E9D772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9D772
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9D772#FFFFFF#000000##000000
##E9D7721.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D269
Deuteranopia (green-blind)
#EDD976
Tritanopia (blue-blind)
#F8CAC0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e9d772;
/* rgb */ color: rgb(233, 215, 114);
/* oklch */ color: oklch(87.3% 0.124 99.4);
Tailwind
colors: {
  custom: {
    50: '#f2e39d',
    500: '#e9d772',
    950: '#000000',
  },
}
SCSS
$custom: #e9d772;
$custom-light: #f2e39d;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d772",
  "rgb": {
    "r": 233,
    "g": 215,
    "b": 114
  },
  "hsl": {
    "h": 50.924,
    "s": 73.006,
    "l": 68.039
  },
  "oklch": {
    "l": 0.87337,
    "c": 0.12374,
    "h": 99.4
  },
  "luminance": 0.67139
}

Semantic roles & 50–950 ramp

primary
#E9D772
secondary
#3E52C1
accent
#2ED510
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E9D772

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

Preview Lab → · Contrast checker → · Palette generator →

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