#E7D472#E7D472

#E7D472 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.6% C 0.121 H 98.6°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#E7D472
RGBrgb(231, 212, 114)
HSLhsl(50, 71%, 68%)
HSVhsv(50, 51%, 91%)
CMYKcmyk(0%, 8.2%, 50.6%, 9.4%)
CIE-LABlab(84.63, -5.96, 50.42)
CIE-LCHlch(84.63, 50.77, 96.74°)
OKLaboklab(86.55% -0.018 0.1196)
OKLCHoklch(86.55% 0.121 98.6)
XYZxyz(59.5376, 65.2931, 25.3830)
Luminance0.6529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D472 #7285E7
analogous
#E79972 #E7D472 #C0E772
triadic
#E7D472 #72E7D4 #D472E7
tetradic
#E7D472 #72E799 #7285E7 #E772C0
square
#E7D472 #72E799 #7285E7 #E772C0
split-complementary
#E7D472 #72C0E7 #9972E7
monochromatic
#BEA520 #DEC43E #E7D472 #F0E4A6 #F9F4DB

Accessibility & contrast

On white

1.49
#E7D472 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.06
#E7D472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D472
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D472#FFFFFF#000000##000000
##E7D4721.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF69
Deuteranopia (green-blind)
#EAD676
Tritanopia (blue-blind)
#F6C8BD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e7d472;
/* rgb */ color: rgb(231, 212, 114);
/* oklch */ color: oklch(86.6% 0.121 98.6);
Tailwind
colors: {
  custom: {
    50: '#f1e19d',
    500: '#e7d472',
    950: '#000000',
  },
}
SCSS
$custom: #e7d472;
$custom-light: #f1e19d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d472",
  "rgb": {
    "r": 231,
    "g": 212,
    "b": 114
  },
  "hsl": {
    "h": 50.256,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.86551,
    "c": 0.1209,
    "h": 98.6
  },
  "luminance": 0.65291
}

Semantic roles & 50–950 ramp

primary
#E7D472
secondary
#4054BD
accent
#32D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D472

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

Preview Lab → · Contrast checker → · Palette generator →

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