#E7D278#E7D278

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

Color values

HEX#E7D278
RGBrgb(231, 210, 120)
HSLhsl(49, 70%, 69%)
HSVhsv(49, 48%, 91%)
CMYKcmyk(0%, 9.1%, 48.1%, 9.4%)
CIE-LABlab(84.19, -4.41, 46.98)
CIE-LCHlch(84.19, 47.19, 95.36°)
OKLaboklab(86.23% -0.0129 0.1125)
OKLCHoklch(86.23% 0.113 96.6)
XYZxyz(59.3935, 64.4405, 27.0753)
Luminance0.6444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D278 #788DE7
analogous
#E79B78 #E7D278 #C5E778
triadic
#E7D278 #78E7D2 #D278E7
tetradic
#E7D278 #78E79B #788DE7 #E778C5
square
#E7D278 #78E79B #788DE7 #E778C5
split-complementary
#E7D278 #78C5E7 #9B78E7
monochromatic
#C2A423 #DEC144 #E7D278 #F0E3AC #F9F5E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7D278#FFFFFF#000000##000000
##E7D2781.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)
#E2CE70
Deuteranopia (green-blind)
#E8D57C
Tritanopia (blue-blind)
#F6C6BD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e7d278;
/* rgb */ color: rgb(231, 210, 120);
/* oklch */ color: oklch(86.2% 0.113 96.6);
Tailwind
colors: {
  custom: {
    50: '#f1dfa1',
    500: '#e7d278',
    950: '#000000',
  },
}
SCSS
$custom: #e7d278;
$custom-light: #f1dfa1;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d278",
  "rgb": {
    "r": 231,
    "g": 210,
    "b": 120
  },
  "hsl": {
    "h": 48.649,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.86226,
    "c": 0.11319,
    "h": 96.6
  },
  "luminance": 0.64438
}

Semantic roles & 50–950 ramp

primary
#E7D278
secondary
#445CBF
accent
#38D214
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E7D278

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

Preview Lab → · Contrast checker → · Palette generator →

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