#E7D072#E7D072

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

Color values

HEX#E7D072
RGBrgb(231, 208, 114)
HSLhsl(48, 71%, 68%)
HSVhsv(48, 51%, 91%)
CMYKcmyk(0%, 10%, 50.6%, 9.4%)
CIE-LABlab(83.61, -3.92, 49.18)
CIE-LCHlch(83.61, 49.34, 94.55°)
OKLaboklab(85.74% -0.0121 0.1168)
OKLCHoklch(85.74% 0.117 95.9)
XYZxyz(58.5501, 63.3180, 25.0538)
Luminance0.6332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D072 #7289E7
analogous
#E79572 #E7D072 #C4E772
triadic
#E7D072 #72E7D0 #D072E7
tetradic
#E7D072 #72E795 #7289E7 #E772C4
square
#E7D072 #72E795 #7289E7 #E772C4
split-complementary
#E7D072 #72C4E7 #9572E7
monochromatic
#BE9F20 #DEBF3E #E7D072 #F0E1A6 #F9F3DB

Accessibility & contrast

On white

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

On black

13.66
#E7D072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D072
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D072#FFFFFF#000000##000000
##E7D0721.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC6A
Deuteranopia (green-blind)
#E7D476
Tritanopia (blue-blind)
#F6C4BA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e7d072;
/* rgb */ color: rgb(231, 208, 114);
/* oklch */ color: oklch(85.7% 0.117 95.9);
Tailwind
colors: {
  custom: {
    50: '#f1de9c',
    500: '#e7d072',
    950: '#000000',
  },
}
SCSS
$custom: #e7d072;
$custom-light: #f1de9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d072",
  "rgb": {
    "r": 231,
    "g": 208,
    "b": 114
  },
  "hsl": {
    "h": 48.205,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.85739,
    "c": 0.11747,
    "h": 95.9
  },
  "luminance": 0.63316
}

Semantic roles & 50–950 ramp

primary
#E7D072
secondary
#4058BD
accent
#38D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D072

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

Preview Lab → · Contrast checker → · Palette generator →

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