#E7D770#E7D770

#E7D770 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.1% C 0.126 H 100.6°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#E7D770
RGBrgb(231, 215, 112)
HSLhsl(52, 71%, 67%)
HSVhsv(52, 52%, 91%)
CMYKcmyk(0%, 6.9%, 51.5%, 9.4%)
CIE-LABlab(85.38, -7.65, 52.26)
CIE-LCHlch(85.38, 52.82, 98.32°)
OKLaboklab(87.14% -0.0231 0.1234)
OKLCHoklch(87.14% 0.126 100.6)
XYZxyz(60.1819, 66.7618, 25.0423)
Luminance0.6676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D770 #7080E7
analogous
#E79C70 #E7D770 #BBE770
triadic
#E7D770 #70E7D7 #D770E7
tetradic
#E7D770 #70E79C #7080E7 #E770BB
square
#E7D770 #70E79C #7080E7 #E770BB
split-complementary
#E7D770 #70BBE7 #9C70E7
monochromatic
#BDA820 #DEC83C #E7D770 #F0E6A4 #F9F4D9

Accessibility & contrast

On white

1.46
#E7D770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#E7D770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D770
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D770#FFFFFF#000000##000000
##E7D7701.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d770;
/* rgb */ color: rgb(231, 215, 112);
/* oklch */ color: oklch(87.1% 0.126 100.6);
Tailwind
colors: {
  custom: {
    50: '#f1e39b',
    500: '#e7d770',
    950: '#000000',
  },
}
SCSS
$custom: #e7d770;
$custom-light: #f1e39b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d770",
  "rgb": {
    "r": 231,
    "g": 215,
    "b": 112
  },
  "hsl": {
    "h": 51.933,
    "s": 71.257,
    "l": 67.255
  },
  "oklch": {
    "l": 0.87137,
    "c": 0.12556,
    "h": 100.6
  },
  "luminance": 0.6676
}

Semantic roles & 50–950 ramp

primary
#E7D770
secondary
#3F50BC
accent
#2CD312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D770

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

Preview Lab → · Contrast checker → · Palette generator →

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