#E8D278#E8D278

#E8D278 is a very light, moderate yellow. Relative luminance 0.646; OKLCH L 86.3% C 0.113 H 96.0°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#E8D278
RGBrgb(232, 210, 120)
HSLhsl(48, 71%, 69%)
HSVhsv(48, 48%, 91%)
CMYKcmyk(0%, 9.5%, 48.3%, 9%)
CIE-LABlab(84.28, -4.00, 47.11)
CIE-LCHlch(84.28, 47.28, 94.86°)
OKLaboklab(86.32% -0.0118 0.1127)
OKLCHoklch(86.32% 0.113 96)
XYZxyz(59.7173, 64.6074, 27.0905)
Luminance0.6461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D278 #788EE8
analogous
#E89A78 #E8D278 #C6E878
triadic
#E8D278 #78E8D2 #D278E8
tetradic
#E8D278 #78E89A #788EE8 #E878C6
square
#E8D278 #78E89A #788EE8 #E878C6
split-complementary
#E8D278 #78C6E8 #9A78E8
monochromatic
#C4A421 #DFC144 #E8D278 #F1E3AC #FAF5E1

Accessibility & contrast

On white

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

On black

13.92
#E8D278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D278
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D278#FFFFFF#000000##000000
##E8D2781.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CE70
Deuteranopia (green-blind)
#E8D57C
Tritanopia (blue-blind)
#F7C6BD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e8d278;
/* rgb */ color: rgb(232, 210, 120);
/* oklch */ color: oklch(86.3% 0.113 96.0);
Tailwind
colors: {
  custom: {
    50: '#f1dfa1',
    500: '#e8d278',
    950: '#000000',
  },
}
SCSS
$custom: #e8d278;
$custom-light: #f1dfa1;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d278",
  "rgb": {
    "r": 232,
    "g": 210,
    "b": 120
  },
  "hsl": {
    "h": 48.214,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.86315,
    "c": 0.11333,
    "h": 96
  },
  "luminance": 0.64605
}

Semantic roles & 50–950 ramp

primary
#E8D278
secondary
#445CC0
accent
#38D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E8D278

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

Preview Lab → · Contrast checker → · Palette generator →

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