#E2C856#E2C856

#E2C856 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.3% C 0.136 H 96.5°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#E2C856
RGBrgb(226, 200, 86)
HSLhsl(49, 71%, 61%)
HSVhsv(49, 62%, 89%)
CMYKcmyk(0%, 11.5%, 61.9%, 11.4%)
CIE-LABlab(80.82, -3.99, 58.83)
CIE-LCHlch(80.82, 58.96, 93.88°)
OKLaboklab(83.34% -0.0152 0.1347)
OKLCHoklch(83.34% 0.136 96.5)
XYZxyz(53.7003, 58.1517, 17.1981)
Luminance0.5815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C856 #5670E2
analogous
#E28256 #E2C856 #B6E256
triadic
#E2C856 #56E2C8 #C856E2
tetradic
#E2C856 #56E282 #5670E2 #E256B6
square
#E2C856 #56E282 #5670E2 #E256B6
split-complementary
#E2C856 #56B6E2 #8256E2
monochromatic
#A2891C #D6B525 #E2C856 #EBD98A #F4EABE

Accessibility & contrast

On white

1.66
#E2C856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#E2C856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C856
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C856#FFFFFF#000000##000000
##E2C8561.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC449
Deuteranopia (green-blind)
#E1CC5C
Tritanopia (blue-blind)
#F3BAAF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e2c856;
/* rgb */ color: rgb(226, 200, 86);
/* oklch */ color: oklch(83.3% 0.136 96.5);
Tailwind
colors: {
  custom: {
    50: '#eed88a',
    500: '#e2c856',
    950: '#000000',
  },
}
SCSS
$custom: #e2c856;
$custom-light: #eed88a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c856",
  "rgb": {
    "r": 226,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 48.857,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83336,
    "c": 0.13556,
    "h": 96.5
  },
  "luminance": 0.58149
}

Semantic roles & 50–950 ramp

primary
#E2C856
secondary
#384CA5
accent
#36D313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C856

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

Preview Lab → · Contrast checker → · Palette generator →

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