#E7D773#E7D773

#E7D773 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.2% C 0.123 H 100.4°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#E7D773
RGBrgb(231, 215, 115)
HSLhsl(52, 71%, 68%)
HSVhsv(52, 50%, 91%)
CMYKcmyk(0%, 6.9%, 50.2%, 9.4%)
CIE-LABlab(85.42, -7.39, 50.88)
CIE-LCHlch(85.42, 51.41, 98.27°)
OKLaboklab(87.18% -0.0221 0.1207)
OKLCHoklch(87.18% 0.123 100.4)
XYZxyz(60.3518, 66.8298, 25.9367)
Luminance0.6683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D773 #7383E7
analogous
#E79D73 #E7D773 #BDE773
triadic
#E7D773 #73E7D7 #D773E7
tetradic
#E7D773 #73E79D #7383E7 #E773BD
square
#E7D773 #73E79D #7383E7 #E773BD
split-complementary
#E7D773 #73BDE7 #9D73E7
monochromatic
#BFA921 #DEC83F #E7D773 #F0E6A7 #F9F5DB

Accessibility & contrast

On white

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

On black

14.37
#E7D773 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D773
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D773#FFFFFF#000000##000000
##E7D7731.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D26A
Deuteranopia (green-blind)
#ECD877
Tritanopia (blue-blind)
#F6CBC0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e7d773;
/* rgb */ color: rgb(231, 215, 115);
/* oklch */ color: oklch(87.2% 0.123 100.4);
Tailwind
colors: {
  custom: {
    50: '#f1e39d',
    500: '#e7d773',
    950: '#000000',
  },
}
SCSS
$custom: #e7d773;
$custom-light: #f1e39d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d773",
  "rgb": {
    "r": 231,
    "g": 215,
    "b": 115
  },
  "hsl": {
    "h": 51.724,
    "s": 70.732,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87175,
    "c": 0.12265,
    "h": 100.4
  },
  "luminance": 0.66828
}

Semantic roles & 50–950 ramp

primary
#E7D773
secondary
#4052BE
accent
#2DD313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D773

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

Preview Lab → · Contrast checker → · Palette generator →

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