#E9C956#E9C956

#E9C956 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 84.2% C 0.137 H 93.7°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#E9C956
RGBrgb(233, 201, 86)
HSLhsl(47, 77%, 63%)
HSVhsv(47, 63%, 91%)
CMYKcmyk(0%, 13.7%, 63.1%, 8.6%)
CIE-LABlab(81.71, -1.58, 59.98)
CIE-LCHlch(81.71, 60.00, 91.51°)
OKLaboklab(84.19% -0.0087 0.137)
OKLCHoklch(84.19% 0.137 93.7)
XYZxyz(56.1732, 59.7717, 17.3806)
Luminance0.5977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9C956 #5676E9
analogous
#E98056 #E9C956 #BFE956
triadic
#E9C956 #56E9C9 #C956E9
tetradic
#E9C956 #56E980 #5676E9 #E956BF
square
#E9C956 #56E980 #5676E9 #E956BF
split-complementary
#E9C956 #56BFE9 #8056E9
monochromatic
#AE8D17 #E2B820 #E9C956 #F0DA8C #F7ECC2

Accessibility & contrast

On white

1.62
#E9C956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#E9C956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9C956
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9C956#FFFFFF#000000##000000
##E9C9561.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC649
Deuteranopia (green-blind)
#E5CF5B
Tritanopia (blue-blind)
#FBBAB0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e9c956;
/* rgb */ color: rgb(233, 201, 86);
/* oklch */ color: oklch(84.2% 0.137 93.7);
Tailwind
colors: {
  custom: {
    50: '#f3d98a',
    500: '#e9c956',
    950: '#000000',
  },
}
SCSS
$custom: #e9c956;
$custom-light: #f3d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#e9c956",
  "rgb": {
    "r": 233,
    "g": 201,
    "b": 86
  },
  "hsl": {
    "h": 46.939,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8419,
    "c": 0.13725,
    "h": 93.7
  },
  "luminance": 0.59769
}

Semantic roles & 50–950 ramp

primary
#E9C956
secondary
#344FAF
accent
#39D90C
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E9C956

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

Preview Lab → · Contrast checker → · Palette generator →

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