#E5C255#E5C255

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

Color values

HEX#E5C255
RGBrgb(229, 194, 85)
HSLhsl(45, 73%, 62%)
HSVhsv(45, 63%, 90%)
CMYKcmyk(0%, 15.3%, 62.9%, 10.2%)
CIE-LABlab(79.56, 0.30, 57.96)
CIE-LCHlch(79.56, 57.96, 89.71°)
OKLaboklab(82.4% -0.0032 0.1326)
OKLCHoklch(82.4% 0.133 91.4)
XYZxyz(53.2471, 55.9004, 16.5778)
Luminance0.5590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C255 #5578E5
analogous
#E57A55 #E5C255 #C0E555
triadic
#E5C255 #55E5C2 #C255E5
tetradic
#E5C255 #55E57A #5578E5 #E555C0
square
#E5C255 #55E57A #5578E5 #E555C0
split-complementary
#E5C255 #55C0E5 #7A55E5
monochromatic
#A68419 #DBAE22 #E5C255 #EDD58A #F5E8BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5C255#FFFFFF#000000##000000
##E5C2551.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)
#D5BF49
Deuteranopia (green-blind)
#DEC95A
Tritanopia (blue-blind)
#F7B4AA
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e5c255;
/* rgb */ color: rgb(229, 194, 85);
/* oklch */ color: oklch(82.4% 0.133 91.4);
Tailwind
colors: {
  custom: {
    50: '#f1d489',
    500: '#e5c255',
    950: '#000000',
  },
}
SCSS
$custom: #e5c255;
$custom-light: #f1d489;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c255",
  "rgb": {
    "r": 229,
    "g": 194,
    "b": 85
  },
  "hsl": {
    "h": 45.417,
    "s": 73.469,
    "l": 61.569
  },
  "oklch": {
    "l": 0.82397,
    "c": 0.13267,
    "h": 91.4
  },
  "luminance": 0.55897
}

Semantic roles & 50–950 ramp

primary
#E5C255
secondary
#3652A8
accent
#40D610
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5C255

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

Preview Lab → · Contrast checker → · Palette generator →

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