#E7D170#E7D170

#E7D170 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.9% C 0.120 H 96.8°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#E7D170
RGBrgb(231, 209, 112)
HSLhsl(49, 71%, 67%)
HSVhsv(49, 52%, 91%)
CMYKcmyk(0%, 9.5%, 51.5%, 9.4%)
CIE-LABlab(83.84, -4.60, 50.42)
CIE-LCHlch(83.84, 50.63, 95.21°)
OKLaboklab(85.92% -0.0143 0.1194)
OKLCHoklch(85.92% 0.12 96.8)
XYZxyz(58.6821, 63.7621, 24.5423)
Luminance0.6376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D170 #7086E7
analogous
#E79670 #E7D170 #C1E770
triadic
#E7D170 #70E7D1 #D170E7
tetradic
#E7D170 #70E796 #7086E7 #E770C1
square
#E7D170 #70E796 #7086E7 #E770C1
split-complementary
#E7D170 #70C1E7 #9670E7
monochromatic
#BDA020 #DEC03C #E7D170 #F0E2A4 #F9F3D9

Accessibility & contrast

On white

1.53
#E7D170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#E7D170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D170
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D170#FFFFFF#000000##000000
##E7D1701.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD67
Deuteranopia (green-blind)
#E8D474
Tritanopia (blue-blind)
#F6C4BA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e7d170;
/* rgb */ color: rgb(231, 209, 112);
/* oklch */ color: oklch(85.9% 0.120 96.8);
Tailwind
colors: {
  custom: {
    50: '#f1de9b',
    500: '#e7d170',
    950: '#000000',
  },
}
SCSS
$custom: #e7d170;
$custom-light: #f1de9b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d170",
  "rgb": {
    "r": 231,
    "g": 209,
    "b": 112
  },
  "hsl": {
    "h": 48.908,
    "s": 71.257,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85915,
    "c": 0.12025,
    "h": 96.8
  },
  "luminance": 0.6376
}

Semantic roles & 50–950 ramp

primary
#E7D170
secondary
#3F56BC
accent
#36D312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D170

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

Preview Lab → · Contrast checker → · Palette generator →

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