#E2C056#E2C056

#E2C056 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.7% C 0.130 H 91.5°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#E2C056
RGBrgb(226, 192, 86)
HSLhsl(45, 71%, 61%)
HSVhsv(45, 62%, 89%)
CMYKcmyk(0%, 15%, 61.9%, 11.4%)
CIE-LABlab(78.78, 0.14, 56.57)
CIE-LCHlch(78.78, 56.57, 89.85°)
OKLaboklab(81.72% -0.0033 0.1299)
OKLCHoklch(81.72% 0.13 91.5)
XYZxyz(51.8958, 54.5427, 16.5966)
Luminance0.5454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C056 #5678E2
analogous
#E27A56 #E2C056 #BEE256
triadic
#E2C056 #56E2C0 #C056E2
tetradic
#E2C056 #56E27A #5678E2 #E256BE
square
#E2C056 #56E27A #5678E2 #E256BE
split-complementary
#E2C056 #56BEE2 #7A56E2
monochromatic
#A2811C #D6AB25 #E2C056 #EBD38A #F4E7BE

Accessibility & contrast

On white

1.76
#E2C056 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#E2C056 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C056
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C056#FFFFFF#000000##000000
##E2C0561.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4B
Deuteranopia (green-blind)
#DBC75B
Tritanopia (blue-blind)
#F3B2A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e2c056;
/* rgb */ color: rgb(226, 192, 86);
/* oklch */ color: oklch(81.7% 0.130 91.5);
Tailwind
colors: {
  custom: {
    50: '#eed28a',
    500: '#e2c056',
    950: '#000000',
  },
}
SCSS
$custom: #e2c056;
$custom-light: #eed28a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c056",
  "rgb": {
    "r": 226,
    "g": 192,
    "b": 86
  },
  "hsl": {
    "h": 45.429,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81719,
    "c": 0.12994,
    "h": 91.5
  },
  "luminance": 0.5454
}

Semantic roles & 50–950 ramp

primary
#E2C056
secondary
#3852A5
accent
#41D313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C056

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

Preview Lab → · Contrast checker → · Palette generator →

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