#E8D272#E8D272

#E8D272 is a very light, moderate yellow. Relative luminance 0.645; OKLCH L 86.2% C 0.119 H 96.7°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#E8D272
RGBrgb(232, 210, 114)
HSLhsl(49, 72%, 68%)
HSVhsv(49, 51%, 91%)
CMYKcmyk(0%, 9.5%, 50.9%, 9%)
CIE-LABlab(84.21, -4.53, 49.93)
CIE-LCHlch(84.21, 50.13, 95.19°)
OKLaboklab(86.23% -0.014 0.1185)
OKLCHoklch(86.23% 0.119 96.7)
XYZxyz(59.3645, 64.4663, 25.2325)
Luminance0.6446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D272 #7288E8
analogous
#E89772 #E8D272 #C3E872
triadic
#E8D272 #72E8D2 #D272E8
tetradic
#E8D272 #72E897 #7288E8 #E872C3
square
#E8D272 #72E897 #7288E8 #E872C3
split-complementary
#E8D272 #72C3E8 #9772E8
monochromatic
#C0A21F #DFC13D #E8D272 #F1E3A7 #F9F4DB

Accessibility & contrast

On white

1.51
#E8D272 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.89
#E8D272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D272
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D272#FFFFFF#000000##000000
##E8D2721.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE6A
Deuteranopia (green-blind)
#E9D576
Tritanopia (blue-blind)
#F7C5BC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e8d272;
/* rgb */ color: rgb(232, 210, 114);
/* oklch */ color: oklch(86.2% 0.119 96.7);
Tailwind
colors: {
  custom: {
    50: '#f1df9d',
    500: '#e8d272',
    950: '#000000',
  },
}
SCSS
$custom: #e8d272;
$custom-light: #f1df9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d272",
  "rgb": {
    "r": 232,
    "g": 210,
    "b": 114
  },
  "hsl": {
    "h": 48.814,
    "s": 71.951,
    "l": 67.843
  },
  "oklch": {
    "l": 0.86233,
    "c": 0.11927,
    "h": 96.7
  },
  "luminance": 0.64464
}

Semantic roles & 50–950 ramp

primary
#E8D272
secondary
#3F57BF
accent
#36D411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8D272

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

Preview Lab → · Contrast checker → · Palette generator →

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