#E5D272#E5D272

#E5D272 is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 86.0% C 0.119 H 98.4°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#E5D272
RGBrgb(229, 210, 114)
HSLhsl(50, 69%, 67%)
HSVhsv(50, 50%, 90%)
CMYKcmyk(0%, 8.3%, 50.2%, 10.2%)
CIE-LABlab(83.95, -5.75, 49.55)
CIE-LCHlch(83.95, 49.89, 96.62°)
OKLaboklab(85.97% -0.0173 0.1177)
OKLCHoklch(85.97% 0.119 98.4)
XYZxyz(58.3988, 63.9683, 25.1873)
Luminance0.6397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D272 #7285E5
analogous
#E59972 #E5D272 #BFE572
triadic
#E5D272 #72E5D2 #D272E5
tetradic
#E5D272 #72E599 #7285E5 #E572BF
square
#E5D272 #72E599 #7285E5 #E572BF
split-complementary
#E5D272 #72BFE5 #9972E5
monochromatic
#BAA122 #DBC23E #E5D272 #EFE2A6 #F8F3D9

Accessibility & contrast

On white

1.52
#E5D272 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#E5D272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D272
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D272#FFFFFF#000000##000000
##E5D2721.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD6A
Deuteranopia (green-blind)
#E8D476
Tritanopia (blue-blind)
#F4C6BC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e5d272;
/* rgb */ color: rgb(229, 210, 114);
/* oklch */ color: oklch(86.0% 0.119 98.4);
Tailwind
colors: {
  custom: {
    50: '#efdf9d',
    500: '#e5d272',
    950: '#000000',
  },
}
SCSS
$custom: #e5d272;
$custom-light: #efdf9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d272",
  "rgb": {
    "r": 229,
    "g": 210,
    "b": 114
  },
  "hsl": {
    "h": 50.087,
    "s": 68.862,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85967,
    "c": 0.11895,
    "h": 98.4
  },
  "luminance": 0.63966
}

Semantic roles & 50–950 ramp

primary
#E5D272
secondary
#4155BA
accent
#34D115
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E5D272

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

Preview Lab → · Contrast checker → · Palette generator →

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