#E7D276#E7D276

#E7D276 is a very light, moderate yellow. Relative luminance 0.644; OKLCH L 86.2% C 0.115 H 96.8°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#E7D276
RGBrgb(231, 210, 118)
HSLhsl(49, 70%, 68%)
HSVhsv(49, 49%, 91%)
CMYKcmyk(0%, 9.1%, 48.9%, 9.4%)
CIE-LABlab(84.17, -4.59, 47.93)
CIE-LCHlch(84.17, 48.15, 95.47°)
OKLaboklab(86.2% -0.0137 0.1144)
OKLCHoklch(86.2% 0.115 96.8)
XYZxyz(59.2734, 64.3924, 26.4428)
Luminance0.6439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D276 #768BE7
analogous
#E79976 #E7D276 #C3E776
triadic
#E7D276 #76E7D2 #D276E7
tetradic
#E7D276 #76E799 #768BE7 #E776C3
square
#E7D276 #76E799 #768BE7 #E776C3
split-complementary
#E7D276 #76C3E7 #9976E7
monochromatic
#C1A322 #DEC142 #E7D276 #F0E3AA #F9F4DE

Accessibility & contrast

On white

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

On black

13.88
#E7D276 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D276
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D276#FFFFFF#000000##000000
##E7D2761.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d276;
/* rgb */ color: rgb(231, 210, 118);
/* oklch */ color: oklch(86.2% 0.115 96.8);
Tailwind
colors: {
  custom: {
    50: '#f1df9f',
    500: '#e7d276',
    950: '#000000',
  },
}
SCSS
$custom: #e7d276;
$custom-light: #f1df9f;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d276",
  "rgb": {
    "r": 231,
    "g": 210,
    "b": 118
  },
  "hsl": {
    "h": 48.85,
    "s": 70.186,
    "l": 68.431
  },
  "oklch": {
    "l": 0.86198,
    "c": 0.1152,
    "h": 96.8
  },
  "luminance": 0.6439
}

Semantic roles & 50–950 ramp

primary
#E7D276
secondary
#425ABF
accent
#37D213
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E7D276

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

Preview Lab → · Contrast checker → · Palette generator →

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