#E5C256#E5C256

#E5C256 is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.4% C 0.132 H 91.3°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#E5C256
RGBrgb(229, 194, 86)
HSLhsl(45, 73%, 62%)
HSVhsv(45, 62%, 90%)
CMYKcmyk(0%, 15.3%, 62.4%, 10.2%)
CIE-LABlab(79.57, 0.36, 57.52)
CIE-LCHlch(79.57, 57.52, 89.64°)
OKLaboklab(82.41% -0.0029 0.1318)
OKLCHoklch(82.41% 0.132 91.3)
XYZxyz(53.2871, 55.9164, 16.7885)
Luminance0.5591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C256 #5679E5
analogous
#E57B56 #E5C256 #C0E556
triadic
#E5C256 #56E5C2 #C256E5
tetradic
#E5C256 #56E57B #5679E5 #E556C0
square
#E5C256 #56E57B #5679E5 #E556C0
split-complementary
#E5C256 #56C0E5 #7B56E5
monochromatic
#A7841A #DCAE22 #E5C256 #EDD58B #F5E8C0

Accessibility & contrast

On white

1.72
#E5C256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#E5C256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C256
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C256#FFFFFF#000000##000000
##E5C2561.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4A
Deuteranopia (green-blind)
#DEC95B
Tritanopia (blue-blind)
#F6B4AB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e5c256;
/* rgb */ color: rgb(229, 194, 86);
/* oklch */ color: oklch(82.4% 0.132 91.3);
Tailwind
colors: {
  custom: {
    50: '#f1d48a',
    500: '#e5c256',
    950: '#000000',
  },
}
SCSS
$custom: #e5c256;
$custom-light: #f1d48a;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c256",
  "rgb": {
    "r": 229,
    "g": 194,
    "b": 86
  },
  "hsl": {
    "h": 45.315,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82407,
    "c": 0.13187,
    "h": 91.3
  },
  "luminance": 0.55913
}

Semantic roles & 50–950 ramp

primary
#E5C256
secondary
#3652A9
accent
#40D510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5C256

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

Preview Lab → · Contrast checker → · Palette generator →

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