#E7D673#E7D673

#E7D673 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 87.0% C 0.122 H 99.7°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#E7D673
RGBrgb(231, 214, 115)
HSLhsl(51, 71%, 68%)
HSVhsv(51, 50%, 91%)
CMYKcmyk(0%, 7.4%, 50.2%, 9.4%)
CIE-LABlab(85.16, -6.88, 50.57)
CIE-LCHlch(85.16, 51.04, 97.75°)
OKLaboklab(86.97% -0.0206 0.12)
OKLCHoklch(86.97% 0.122 99.7)
XYZxyz(60.0979, 66.3220, 25.8521)
Luminance0.6632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D673 #7384E7
analogous
#E79C73 #E7D673 #BEE773
triadic
#E7D673 #73E7D6 #D673E7
tetradic
#E7D673 #73E79C #7384E7 #E773BE
square
#E7D673 #73E79C #7384E7 #E773BE
split-complementary
#E7D673 #73BEE7 #9C73E7
monochromatic
#BFA821 #DEC73F #E7D673 #F0E5A7 #F9F5DB

Accessibility & contrast

On white

1.47
#E7D673 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#E7D673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D673
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D673#FFFFFF#000000##000000
##E7D6731.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D16A
Deuteranopia (green-blind)
#EBD877
Tritanopia (blue-blind)
#F6CABF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e7d673;
/* rgb */ color: rgb(231, 214, 115);
/* oklch */ color: oklch(87.0% 0.122 99.7);
Tailwind
colors: {
  custom: {
    50: '#f1e29d',
    500: '#e7d673',
    950: '#000000',
  },
}
SCSS
$custom: #e7d673;
$custom-light: #f1e29d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d673",
  "rgb": {
    "r": 231,
    "g": 214,
    "b": 115
  },
  "hsl": {
    "h": 51.207,
    "s": 70.732,
    "l": 67.843
  },
  "oklch": {
    "l": 0.86971,
    "c": 0.12173,
    "h": 99.7
  },
  "luminance": 0.6632
}

Semantic roles & 50–950 ramp

primary
#E7D673
secondary
#4053BE
accent
#2FD313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D673

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

Preview Lab → · Contrast checker → · Palette generator →

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