#E4C451#E4C451

#E4C451 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.7% C 0.137 H 93.6°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#E4C451
RGBrgb(228, 196, 81)
HSLhsl(47, 73%, 61%)
HSVhsv(47, 64%, 89%)
CMYKcmyk(0%, 14%, 64.5%, 10.6%)
CIE-LABlab(79.94, -1.40, 60.09)
CIE-LCHlch(79.94, 60.11, 91.34°)
OKLaboklab(82.66% -0.0085 0.1366)
OKLCHoklch(82.66% 0.137 93.6)
XYZxyz(53.2226, 56.5707, 15.8989)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C451 #5171E4
analogous
#E47A51 #E4C451 #BAE451
triadic
#E4C451 #51E4C4 #C451E4
tetradic
#E4C451 #51E47A #5171E4 #E451BA
square
#E4C451 #51E47A #5171E4 #E451BA
split-complementary
#E4C451 #51BAE4 #7A51E4
monochromatic
#A28419 #D7AF21 #E4C451 #ECD686 #F4E8BB

Accessibility & contrast

On white

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

On black

12.31
#E4C451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C451
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C451#FFFFFF#000000##000000
##E4C4511.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C144
Deuteranopia (green-blind)
#DFCA57
Tritanopia (blue-blind)
#F5B6AC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e4c451;
/* rgb */ color: rgb(228, 196, 81);
/* oklch */ color: oklch(82.7% 0.137 93.6);
Tailwind
colors: {
  custom: {
    50: '#f0d587',
    500: '#e4c451',
    950: '#000000',
  },
}
SCSS
$custom: #e4c451;
$custom-light: #f0d587;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c451",
  "rgb": {
    "r": 228,
    "g": 196,
    "b": 81
  },
  "hsl": {
    "h": 46.939,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.82664,
    "c": 0.13689,
    "h": 93.6
  },
  "luminance": 0.56568
}

Semantic roles & 50–950 ramp

primary
#E4C451
secondary
#354DA4
accent
#3BD510
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C451

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

Preview Lab → · Contrast checker → · Palette generator →

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