#E7D372#E7D372

#E7D372 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 86.3% C 0.120 H 97.9°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#E7D372
RGBrgb(231, 211, 114)
HSLhsl(50, 71%, 68%)
HSVhsv(50, 51%, 91%)
CMYKcmyk(0%, 8.7%, 50.6%, 9.4%)
CIE-LABlab(84.38, -5.45, 50.11)
CIE-LCHlch(84.38, 50.40, 96.20°)
OKLaboklab(86.35% -0.0166 0.1189)
OKLCHoklch(86.35% 0.12 97.9)
XYZxyz(59.2884, 64.7947, 25.2999)
Luminance0.6479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D372 #7286E7
analogous
#E79972 #E7D372 #C0E772
triadic
#E7D372 #72E7D3 #D372E7
tetradic
#E7D372 #72E799 #7286E7 #E772C0
square
#E7D372 #72E799 #7286E7 #E772C0
split-complementary
#E7D372 #72C0E7 #9972E7
monochromatic
#BEA320 #DEC33E #E7D372 #F0E3A6 #F9F4DB

Accessibility & contrast

On white

1.50
#E7D372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.96
#E7D372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D372
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D372#FFFFFF#000000##000000
##E7D3721.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE69
Deuteranopia (green-blind)
#E9D676
Tritanopia (blue-blind)
#F6C7BC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e7d372;
/* rgb */ color: rgb(231, 211, 114);
/* oklch */ color: oklch(86.3% 0.120 97.9);
Tailwind
colors: {
  custom: {
    50: '#f1e09d',
    500: '#e7d372',
    950: '#000000',
  },
}
SCSS
$custom: #e7d372;
$custom-light: #f1e09d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d372",
  "rgb": {
    "r": 231,
    "g": 211,
    "b": 114
  },
  "hsl": {
    "h": 49.744,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.86347,
    "c": 0.12002,
    "h": 97.9
  },
  "luminance": 0.64792
}

Semantic roles & 50–950 ramp

primary
#E7D372
secondary
#4055BD
accent
#33D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D372

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

Preview Lab → · Contrast checker → · Palette generator →

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