#E4D173#E4D173

#E4D173 is a very light, moderate yellow. Relative luminance 0.633; OKLCH L 85.7% C 0.117 H 98.2°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#E4D173
RGBrgb(228, 209, 115)
HSLhsl(50, 68%, 67%)
HSVhsv(50, 50%, 89%)
CMYKcmyk(0%, 8.3%, 49.6%, 10.6%)
CIE-LABlab(83.62, -5.55, 48.65)
CIE-LCHlch(83.62, 48.97, 96.51°)
OKLaboklab(85.69% -0.0166 0.1158)
OKLCHoklch(85.69% 0.117 98.2)
XYZxyz(57.8917, 63.3349, 25.3917)
Luminance0.6333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D173 #7386E4
analogous
#E49973 #E4D173 #BEE473
triadic
#E4D173 #73E4D1 #D173E4
tetradic
#E4D173 #73E499 #7386E4 #E473BE
square
#E4D173 #73E499 #7386E4 #E473BE
split-complementary
#E4D173 #73BEE4 #9973E4
monochromatic
#B9A024 #DAC040 #E4D173 #EEE2A6 #F8F3DA

Accessibility & contrast

On white

1.54
#E4D173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#E4D173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D173
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D173#FFFFFF#000000##000000
##E4D1731.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD6B
Deuteranopia (green-blind)
#E6D377
Tritanopia (blue-blind)
#F3C5BB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e4d173;
/* rgb */ color: rgb(228, 209, 115);
/* oklch */ color: oklch(85.7% 0.117 98.2);
Tailwind
colors: {
  custom: {
    50: '#efde9d',
    500: '#e4d173',
    950: '#000000',
  },
}
SCSS
$custom: #e4d173;
$custom-light: #efde9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d173",
  "rgb": {
    "r": 228,
    "g": 209,
    "b": 115
  },
  "hsl": {
    "h": 49.912,
    "s": 67.665,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85688,
    "c": 0.11697,
    "h": 98.2
  },
  "luminance": 0.63333
}

Semantic roles & 50–950 ramp

primary
#E4D173
secondary
#4256B9
accent
#35D016
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4D173

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

Preview Lab → · Contrast checker → · Palette generator →

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