#E7D670#E7D670

#E7D670 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.9% C 0.125 H 100.0°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#E7D670
RGBrgb(231, 214, 112)
HSLhsl(51, 71%, 67%)
HSVhsv(51, 52%, 91%)
CMYKcmyk(0%, 7.4%, 51.5%, 9.4%)
CIE-LABlab(85.13, -7.14, 51.96)
CIE-LCHlch(85.13, 52.44, 97.83°)
OKLaboklab(86.93% -0.0217 0.1227)
OKLCHoklch(86.93% 0.125 100)
XYZxyz(59.9281, 66.2541, 24.9577)
Luminance0.6625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D670 #7081E7
analogous
#E79B70 #E7D670 #BCE770
triadic
#E7D670 #70E7D6 #D670E7
tetradic
#E7D670 #70E79B #7081E7 #E770BC
square
#E7D670 #70E79B #7081E7 #E770BC
split-complementary
#E7D670 #70BCE7 #9B70E7
monochromatic
#BDA620 #DEC73C #E7D670 #F0E5A4 #F9F4D9

Accessibility & contrast

On white

1.47
#E7D670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#E7D670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D670
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D670#FFFFFF#000000##000000
##E7D6701.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d670;
/* rgb */ color: rgb(231, 214, 112);
/* oklch */ color: oklch(86.9% 0.125 100.0);
Tailwind
colors: {
  custom: {
    50: '#f1e29b',
    500: '#e7d670',
    950: '#000000',
  },
}
SCSS
$custom: #e7d670;
$custom-light: #f1e29b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d670",
  "rgb": {
    "r": 231,
    "g": 214,
    "b": 112
  },
  "hsl": {
    "h": 51.429,
    "s": 71.257,
    "l": 67.255
  },
  "oklch": {
    "l": 0.86932,
    "c": 0.12464,
    "h": 100
  },
  "luminance": 0.66252
}

Semantic roles & 50–950 ramp

primary
#E7D670
secondary
#3F51BC
accent
#2ED312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D670

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

Preview Lab → · Contrast checker → · Palette generator →

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