#E7D473#E7D473

#E7D473 is a very light, moderate yellow. Relative luminance 0.653; OKLCH L 86.6% C 0.120 H 98.5°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#E7D473
RGBrgb(231, 212, 115)
HSLhsl(50, 71%, 68%)
HSVhsv(50, 50%, 91%)
CMYKcmyk(0%, 8.2%, 50.2%, 9.4%)
CIE-LABlab(84.65, -5.87, 49.95)
CIE-LCHlch(84.65, 50.30, 96.70°)
OKLaboklab(86.56% -0.0177 0.1186)
OKLCHoklch(86.56% 0.12 98.5)
XYZxyz(59.5949, 65.3159, 25.6844)
Luminance0.6531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D473 #7386E7
analogous
#E79A73 #E7D473 #C0E773
triadic
#E7D473 #73E7D4 #D473E7
tetradic
#E7D473 #73E79A #7386E7 #E773C0
square
#E7D473 #73E79A #7386E7 #E773C0
split-complementary
#E7D473 #73C0E7 #9A73E7
monochromatic
#BFA521 #DEC43F #E7D473 #F0E4A7 #F9F4DB

Accessibility & contrast

On white

1.49
#E7D473 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.06
#E7D473 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D473
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D473#FFFFFF#000000##000000
##E7D4731.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF6B
Deuteranopia (green-blind)
#EAD677
Tritanopia (blue-blind)
#F6C8BD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e7d473;
/* rgb */ color: rgb(231, 212, 115);
/* oklch */ color: oklch(86.6% 0.120 98.5);
Tailwind
colors: {
  custom: {
    50: '#f1e19d',
    500: '#e7d473',
    950: '#000000',
  },
}
SCSS
$custom: #e7d473;
$custom-light: #f1e19d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d473",
  "rgb": {
    "r": 231,
    "g": 212,
    "b": 115
  },
  "hsl": {
    "h": 50.172,
    "s": 70.732,
    "l": 67.843
  },
  "oklch": {
    "l": 0.86564,
    "c": 0.11992,
    "h": 98.5
  },
  "luminance": 0.65314
}

Semantic roles & 50–950 ramp

primary
#E7D473
secondary
#4055BE
accent
#32D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D473

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

Preview Lab → · Contrast checker → · Palette generator →

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