#E8D270#E8D270

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

Color values

HEX#E8D270
RGBrgb(232, 210, 112)
HSLhsl(49, 72%, 67%)
HSVhsv(49, 52%, 91%)
CMYKcmyk(0%, 9.5%, 51.7%, 9%)
CIE-LABlab(84.18, -4.70, 50.86)
CIE-LCHlch(84.18, 51.07, 95.28°)
OKLaboklab(86.21% -0.0147 0.1203)
OKLCHoklch(86.21% 0.121 97)
XYZxyz(59.2519, 64.4212, 24.6396)
Luminance0.6442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D270 #7086E8
analogous
#E89670 #E8D270 #C2E870
triadic
#E8D270 #70E8D2 #D270E8
tetradic
#E8D270 #70E896 #7086E8 #E870C2
square
#E8D270 #70E896 #7086E8 #E870C2
split-complementary
#E8D270 #70C2E8 #9670E8
monochromatic
#BFA21F #E0C13B #E8D270 #F0E3A5 #F9F3D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8D270#FFFFFF#000000##000000
##E8D2701.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)
#E3CE67
Deuteranopia (green-blind)
#E9D574
Tritanopia (blue-blind)
#F8C5BB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e8d270;
/* rgb */ color: rgb(232, 210, 112);
/* oklch */ color: oklch(86.2% 0.121 97.0);
Tailwind
colors: {
  custom: {
    50: '#f2df9b',
    500: '#e8d270',
    950: '#000000',
  },
}
SCSS
$custom: #e8d270;
$custom-light: #f2df9b;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d270",
  "rgb": {
    "r": 232,
    "g": 210,
    "b": 112
  },
  "hsl": {
    "h": 49,
    "s": 72.289,
    "l": 67.451
  },
  "oklch": {
    "l": 0.86207,
    "c": 0.12121,
    "h": 97
  },
  "luminance": 0.64419
}

Semantic roles & 50–950 ramp

primary
#E8D270
secondary
#3E56BE
accent
#35D411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8D270

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

Preview Lab → · Contrast checker → · Palette generator →

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