#E1C256#E1C256

#E1C256 is a very light, vivid yellow. Relative luminance 0.553; OKLCH L 82.0% C 0.131 H 93.3°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#E1C256
RGBrgb(225, 194, 86)
HSLhsl(47, 70%, 61%)
HSVhsv(47, 62%, 88%)
CMYKcmyk(0%, 13.8%, 61.8%, 11.8%)
CIE-LABlab(79.19, -1.31, 57.01)
CIE-LCHlch(79.19, 57.02, 91.32°)
OKLaboklab(82.03% -0.0075 0.1309)
OKLCHoklch(82.03% 0.131 93.3)
XYZxyz(52.0252, 55.2657, 16.7293)
Luminance0.5526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1C256 #5675E1
analogous
#E17C56 #E1C256 #BAE156
triadic
#E1C256 #56E1C2 #C256E1
tetradic
#E1C256 #56E17C #5675E1 #E156BA
square
#E1C256 #56E17C #5675E1 #E156BA
split-complementary
#E1C256 #56BAE1 #7C56E1
monochromatic
#A0831C #D4AD26 #E1C256 #EAD58A #F3E8BE

Accessibility & contrast

On white

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

On black

12.05
#E1C256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1C256
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1C256#FFFFFF#000000##000000
##E1C2561.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e1c256;
/* rgb */ color: rgb(225, 194, 86);
/* oklch */ color: oklch(82.0% 0.131 93.3);
Tailwind
colors: {
  custom: {
    50: '#eed48a',
    500: '#e1c256',
    950: '#000000',
  },
}
SCSS
$custom: #e1c256;
$custom-light: #eed48a;
$custom-dark: #000000;
JSON
{
  "hex": "#e1c256",
  "rgb": {
    "r": 225,
    "g": 194,
    "b": 86
  },
  "hsl": {
    "h": 46.619,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82026,
    "c": 0.13106,
    "h": 93.3
  },
  "luminance": 0.55263
}

Semantic roles & 50–950 ramp

primary
#E1C256
secondary
#3850A3
accent
#3ED214
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E1C256

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

Preview Lab → · Contrast checker → · Palette generator →

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