#E5C451#E5C451

#E5C451 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.8% C 0.137 H 93.1°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#E5C451
RGBrgb(229, 196, 81)
HSLhsl(47, 74%, 61%)
HSVhsv(47, 65%, 90%)
CMYKcmyk(0%, 14.4%, 64.6%, 10.2%)
CIE-LABlab(80.03, -0.98, 60.22)
CIE-LCHlch(80.03, 60.23, 90.94°)
OKLaboklab(82.76% -0.0074 0.1369)
OKLCHoklch(82.76% 0.137 93.1)
XYZxyz(53.5408, 56.7348, 15.9138)
Luminance0.5673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C451 #5172E5
analogous
#E57A51 #E5C451 #BCE551
triadic
#E5C451 #51E5C4 #C451E5
tetradic
#E5C451 #51E57A #5172E5 #E551BC
square
#E5C451 #51E57A #5172E5 #E551BC
split-complementary
#E5C451 #51BCE5 #7A51E5
monochromatic
#A38418 #D8AF20 #E5C451 #EDD686 #F5E8BB

Accessibility & contrast

On white

1.70
#E5C451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#E5C451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C451
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C451#FFFFFF#000000##000000
##E5C4511.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C143
Deuteranopia (green-blind)
#E0CB56
Tritanopia (blue-blind)
#F7B5AC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e5c451;
/* rgb */ color: rgb(229, 196, 81);
/* oklch */ color: oklch(82.8% 0.137 93.1);
Tailwind
colors: {
  custom: {
    50: '#f1d587',
    500: '#e5c451',
    950: '#000000',
  },
}
SCSS
$custom: #e5c451;
$custom-light: #f1d587;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c451",
  "rgb": {
    "r": 229,
    "g": 196,
    "b": 81
  },
  "hsl": {
    "h": 46.622,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82759,
    "c": 0.13706,
    "h": 93.1
  },
  "luminance": 0.56732
}

Semantic roles & 50–950 ramp

primary
#E5C451
secondary
#354EA6
accent
#3CD60F
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5C451

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

Preview Lab → · Contrast checker → · Palette generator →

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