#E8C956#E8C956

#E8C956 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 84.1% C 0.137 H 94.1°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#E8C956
RGBrgb(232, 201, 86)
HSLhsl(47, 76%, 62%)
HSVhsv(47, 63%, 91%)
CMYKcmyk(0%, 13.4%, 62.9%, 9%)
CIE-LABlab(81.62, -2.00, 59.85)
CIE-LCHlch(81.62, 59.89, 91.91°)
OKLaboklab(84.1% -0.0099 0.1367)
OKLCHoklch(84.1% 0.137 94.1)
XYZxyz(55.8476, 59.6038, 17.3653)
Luminance0.5960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8C956 #5675E8
analogous
#E88056 #E8C956 #BEE856
triadic
#E8C956 #56E8C9 #C956E8
tetradic
#E8C956 #56E880 #5675E8 #E856BE
square
#E8C956 #56E880 #5675E8 #E856BE
split-complementary
#E8C956 #56BEE8 #8056E8
monochromatic
#AC8D17 #E1B820 #E8C956 #EFDA8C #F7EBC2

Accessibility & contrast

On white

1.63
#E8C956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#E8C956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8C956
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8C956#FFFFFF#000000##000000
##E8C9561.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC549
Deuteranopia (green-blind)
#E4CF5B
Tritanopia (blue-blind)
#FABBB0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e8c956;
/* rgb */ color: rgb(232, 201, 86);
/* oklch */ color: oklch(84.1% 0.137 94.1);
Tailwind
colors: {
  custom: {
    50: '#f3d98a',
    500: '#e8c956',
    950: '#000000',
  },
}
SCSS
$custom: #e8c956;
$custom-light: #f3d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#e8c956",
  "rgb": {
    "r": 232,
    "g": 201,
    "b": 86
  },
  "hsl": {
    "h": 47.26,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84096,
    "c": 0.13709,
    "h": 94.1
  },
  "luminance": 0.59601
}

Semantic roles & 50–950 ramp

primary
#E8C956
secondary
#354EAD
accent
#38D80D
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E8C956

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

Preview Lab → · Contrast checker → · Palette generator →

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