#E2C256#E2C256

#E2C256 is a very light, vivid yellow. Relative luminance 0.554; OKLCH L 82.1% C 0.131 H 92.8°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#E2C256
RGBrgb(226, 194, 86)
HSLhsl(46, 71%, 61%)
HSVhsv(46, 62%, 89%)
CMYKcmyk(0%, 14.2%, 61.9%, 11.4%)
CIE-LABlab(79.29, -0.90, 57.14)
CIE-LCHlch(79.29, 57.14, 90.90°)
OKLaboklab(82.12% -0.0063 0.1311)
OKLCHoklch(82.12% 0.131 92.8)
XYZxyz(52.3379, 55.4269, 16.7440)
Luminance0.5542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C256 #5676E2
analogous
#E27C56 #E2C256 #BCE256
triadic
#E2C256 #56E2C2 #C256E2
tetradic
#E2C256 #56E27C #5676E2 #E256BC
square
#E2C256 #56E27C #5676E2 #E256BC
split-complementary
#E2C256 #56BCE2 #7C56E2
monochromatic
#A2831C #D6AE25 #E2C256 #EBD58A #F4E8BE

Accessibility & contrast

On white

1.74
#E2C256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#E2C256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C256
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C256#FFFFFF#000000##000000
##E2C2561.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4A
Deuteranopia (green-blind)
#DDC85B
Tritanopia (blue-blind)
#F3B4AB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e2c256;
/* rgb */ color: rgb(226, 194, 86);
/* oklch */ color: oklch(82.1% 0.131 92.8);
Tailwind
colors: {
  custom: {
    50: '#eed48a',
    500: '#e2c256',
    950: '#000000',
  },
}
SCSS
$custom: #e2c256;
$custom-light: #eed48a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c256",
  "rgb": {
    "r": 226,
    "g": 194,
    "b": 86
  },
  "hsl": {
    "h": 46.286,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.82121,
    "c": 0.13125,
    "h": 92.8
  },
  "luminance": 0.55424
}

Semantic roles & 50–950 ramp

primary
#E2C256
secondary
#3851A5
accent
#3FD313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C256

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

Preview Lab → · Contrast checker → · Palette generator →

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