#E5C351#E5C351

#E5C351 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.6% C 0.136 H 92.5°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#E5C351
RGBrgb(229, 195, 81)
HSLhsl(46, 74%, 61%)
HSVhsv(46, 65%, 90%)
CMYKcmyk(0%, 14.8%, 64.6%, 10.2%)
CIE-LABlab(79.78, -0.47, 59.95)
CIE-LCHlch(79.78, 59.95, 90.45°)
OKLaboklab(82.56% -0.0059 0.1363)
OKLCHoklch(82.56% 0.136 92.5)
XYZxyz(53.3160, 56.2852, 15.8388)
Luminance0.5628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C351 #5173E5
analogous
#E57951 #E5C351 #BDE551
triadic
#E5C351 #51E5C3 #C351E5
tetradic
#E5C351 #51E579 #5173E5 #E551BD
square
#E5C351 #51E579 #5173E5 #E551BD
split-complementary
#E5C351 #51BDE5 #7951E5
monochromatic
#A38318 #D8AE20 #E5C351 #EDD586 #F5E8BB

Accessibility & contrast

On white

1.71
#E5C351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#E5C351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C351
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C351#FFFFFF#000000##000000
##E5C3511.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C044
Deuteranopia (green-blind)
#DFCA56
Tritanopia (blue-blind)
#F7B4AB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e5c351;
/* rgb */ color: rgb(229, 195, 81);
/* oklch */ color: oklch(82.6% 0.136 92.5);
Tailwind
colors: {
  custom: {
    50: '#f1d487',
    500: '#e5c351',
    950: '#000000',
  },
}
SCSS
$custom: #e5c351;
$custom-light: #f1d487;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c351",
  "rgb": {
    "r": 229,
    "g": 195,
    "b": 81
  },
  "hsl": {
    "h": 46.216,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82558,
    "c": 0.13641,
    "h": 92.5
  },
  "luminance": 0.56282
}

Semantic roles & 50–950 ramp

primary
#E5C351
secondary
#354FA6
accent
#3DD60F
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5C351

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

Preview Lab → · Contrast checker → · Palette generator →

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