#E5C257#E5C257

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

Color values

HEX#E5C257
RGBrgb(229, 194, 87)
HSLhsl(45, 73%, 62%)
HSVhsv(45, 62%, 90%)
CMYKcmyk(0%, 15.3%, 62%, 10.2%)
CIE-LABlab(79.58, 0.43, 57.09)
CIE-LCHlch(79.58, 57.09, 89.57°)
OKLaboklab(82.42% -0.0026 0.1311)
OKLCHoklch(82.42% 0.131 91.1)
XYZxyz(53.3277, 55.9326, 17.0022)
Luminance0.5593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C257 #577AE5
analogous
#E57B57 #E5C257 #C1E557
triadic
#E5C257 #57E5C2 #C257E5
tetradic
#E5C257 #57E57B #577AE5 #E557C1
square
#E5C257 #57E57B #577AE5 #E557C1
split-complementary
#E5C257 #57C1E5 #7B57E5
monochromatic
#A8851A #DDAF22 #E5C257 #EDD58C #F5E8C1

Accessibility & contrast

On white

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

On black

12.19
#E5C257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C257
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C257#FFFFFF#000000##000000
##E5C2571.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5c257;
/* rgb */ color: rgb(229, 194, 87);
/* oklch */ color: oklch(82.4% 0.131 91.1);
Tailwind
colors: {
  custom: {
    50: '#f1d48a',
    500: '#e5c257',
    950: '#000000',
  },
}
SCSS
$custom: #e5c257;
$custom-light: #f1d48a;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c257",
  "rgb": {
    "r": 229,
    "g": 194,
    "b": 87
  },
  "hsl": {
    "h": 45.211,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82417,
    "c": 0.13108,
    "h": 91.1
  },
  "luminance": 0.5593
}

Semantic roles & 50–950 ramp

primary
#E5C257
secondary
#3753AA
accent
#41D510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5C257

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

Preview Lab → · Contrast checker → · Palette generator →

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