#E2C956#E2C956

#E2C956 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.5% C 0.136 H 97.0°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#E2C956
RGBrgb(226, 201, 86)
HSLhsl(49, 71%, 61%)
HSVhsv(49, 62%, 89%)
CMYKcmyk(0%, 11.1%, 61.9%, 11.4%)
CIE-LABlab(81.08, -4.51, 59.11)
CIE-LCHlch(81.08, 59.28, 94.36°)
OKLaboklab(83.54% -0.0167 0.1353)
OKLCHoklch(83.54% 0.136 97)
XYZxyz(53.9327, 58.6164, 17.2756)
Luminance0.5861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C956 #566FE2
analogous
#E28356 #E2C956 #B5E256
triadic
#E2C956 #56E2C9 #C956E2
tetradic
#E2C956 #56E283 #566FE2 #E256B5
square
#E2C956 #56E283 #566FE2 #E256B5
split-complementary
#E2C956 #56B5E2 #8356E2
monochromatic
#A28A1C #D6B625 #E2C956 #EBDA8A #F4EABE

Accessibility & contrast

On white

1.65
#E2C956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#E2C956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C956
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C956#FFFFFF#000000##000000
##E2C9561.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC549
Deuteranopia (green-blind)
#E2CD5C
Tritanopia (blue-blind)
#F3BBB0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e2c956;
/* rgb */ color: rgb(226, 201, 86);
/* oklch */ color: oklch(83.5% 0.136 97.0);
Tailwind
colors: {
  custom: {
    50: '#eed98a',
    500: '#e2c956',
    950: '#000000',
  },
}
SCSS
$custom: #e2c956;
$custom-light: #eed98a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c956",
  "rgb": {
    "r": 226,
    "g": 201,
    "b": 86
  },
  "hsl": {
    "h": 49.286,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83539,
    "c": 0.13632,
    "h": 97
  },
  "luminance": 0.58614
}

Semantic roles & 50–950 ramp

primary
#E2C956
secondary
#384BA5
accent
#35D313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C956

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

Preview Lab → · Contrast checker → · Palette generator →

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