#E7D272#E7D272

#E7D272 is a very light, moderate yellow. Relative luminance 0.643; OKLCH L 86.1% C 0.119 H 97.3°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#E7D272
RGBrgb(231, 210, 114)
HSLhsl(49, 71%, 68%)
HSVhsv(49, 51%, 91%)
CMYKcmyk(0%, 9.1%, 50.6%, 9.4%)
CIE-LABlab(84.12, -4.94, 49.80)
CIE-LCHlch(84.12, 50.05, 95.66°)
OKLaboklab(86.14% -0.0151 0.1182)
OKLCHoklch(86.14% 0.119 97.3)
XYZxyz(59.0408, 64.2993, 25.2174)
Luminance0.6430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D272 #7287E7
analogous
#E79872 #E7D272 #C1E772
triadic
#E7D272 #72E7D2 #D272E7
tetradic
#E7D272 #72E798 #7287E7 #E772C1
square
#E7D272 #72E798 #7287E7 #E772C1
split-complementary
#E7D272 #72C1E7 #9872E7
monochromatic
#BEA220 #DEC13E #E7D272 #F0E3A6 #F9F3DB

Accessibility & contrast

On white

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

On black

13.86
#E7D272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D272
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D272#FFFFFF#000000##000000
##E7D2721.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d272;
/* rgb */ color: rgb(231, 210, 114);
/* oklch */ color: oklch(86.1% 0.119 97.3);
Tailwind
colors: {
  custom: {
    50: '#f1df9d',
    500: '#e7d272',
    950: '#000000',
  },
}
SCSS
$custom: #e7d272;
$custom-light: #f1df9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d272",
  "rgb": {
    "r": 231,
    "g": 210,
    "b": 114
  },
  "hsl": {
    "h": 49.231,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.86144,
    "c": 0.11916,
    "h": 97.3
  },
  "luminance": 0.64297
}

Semantic roles & 50–950 ramp

primary
#E7D272
secondary
#4056BD
accent
#35D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D272

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

Preview Lab → · Contrast checker → · Palette generator →

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