#E4D170#E4D170

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

Color values

HEX#E4D170
RGBrgb(228, 209, 112)
HSLhsl(50, 68%, 67%)
HSVhsv(50, 51%, 89%)
CMYKcmyk(0%, 8.3%, 50.9%, 10.6%)
CIE-LABlab(83.58, -5.82, 50.05)
CIE-LCHlch(83.58, 50.39, 96.63°)
OKLaboklab(85.65% -0.0177 0.1186)
OKLCHoklch(85.65% 0.12 98.5)
XYZxyz(57.7218, 63.2670, 24.4973)
Luminance0.6327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D170 #7083E4
analogous
#E49770 #E4D170 #BDE470
triadic
#E4D170 #70E4D1 #D170E4
tetradic
#E4D170 #70E497 #7083E4 #E470BD
square
#E4D170 #70E497 #7083E4 #E470BD
split-complementary
#E4D170 #70BDE4 #9770E4
monochromatic
#B79F23 #DAC03D #E4D170 #EEE2A3 #F7F2D7

Accessibility & contrast

On white

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

On black

13.65
#E4D170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D170
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D170#FFFFFF#000000##000000
##E4D1701.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC67
Deuteranopia (green-blind)
#E7D374
Tritanopia (blue-blind)
#F3C5BA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e4d170;
/* rgb */ color: rgb(228, 209, 112);
/* oklch */ color: oklch(85.6% 0.120 98.5);
Tailwind
colors: {
  custom: {
    50: '#efde9b',
    500: '#e4d170',
    950: '#000000',
  },
}
SCSS
$custom: #e4d170;
$custom-light: #efde9b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d170",
  "rgb": {
    "r": 228,
    "g": 209,
    "b": 112
  },
  "hsl": {
    "h": 50.172,
    "s": 68.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.85649,
    "c": 0.11993,
    "h": 98.5
  },
  "luminance": 0.63265
}

Semantic roles & 50–950 ramp

primary
#E4D170
secondary
#4154B7
accent
#34D015
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4D170

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

Preview Lab → · Contrast checker → · Palette generator →

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