#E5C258#E5C258

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

Color values

HEX#E5C258
RGBrgb(229, 194, 88)
HSLhsl(45, 73%, 62%)
HSVhsv(45, 62%, 90%)
CMYKcmyk(0%, 15.3%, 61.6%, 10.2%)
CIE-LABlab(79.58, 0.49, 56.65)
CIE-LCHlch(79.58, 56.65, 89.50°)
OKLaboklab(82.43% -0.0023 0.1303)
OKLCHoklch(82.43% 0.13 91)
XYZxyz(53.3689, 55.9491, 17.2188)
Luminance0.5595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C258 #587BE5
analogous
#E57B58 #E5C258 #C2E558
triadic
#E5C258 #58E5C2 #C258E5
tetradic
#E5C258 #58E57B #587BE5 #E558C2
square
#E5C258 #58E57B #587BE5 #E558C2
split-complementary
#E5C258 #58C2E5 #7B58E5
monochromatic
#A8851A #DDAF23 #E5C258 #EDD58D #F5E9C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5C258#FFFFFF#000000##000000
##E5C2581.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)
#D5BF4D
Deuteranopia (green-blind)
#DEC95D
Tritanopia (blue-blind)
#F6B4AB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e5c258;
/* rgb */ color: rgb(229, 194, 88);
/* oklch */ color: oklch(82.4% 0.130 91.0);
Tailwind
colors: {
  custom: {
    50: '#f0d48b',
    500: '#e5c258',
    950: '#000000',
  },
}
SCSS
$custom: #e5c258;
$custom-light: #f0d48b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c258",
  "rgb": {
    "r": 229,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 45.106,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82428,
    "c": 0.13027,
    "h": 91
  },
  "luminance": 0.55946
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E5C258

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

Preview Lab → · Contrast checker → · Palette generator →

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