#E4C450#E4C450

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

Color values

HEX#E4C450
RGBrgb(228, 196, 80)
HSLhsl(47, 73%, 60%)
HSVhsv(47, 65%, 89%)
CMYKcmyk(0%, 14%, 64.9%, 10.6%)
CIE-LABlab(79.93, -1.46, 60.51)
CIE-LCHlch(79.93, 60.53, 91.39°)
OKLaboklab(82.66% -0.0088 0.1374)
OKLCHoklch(82.66% 0.138 93.7)
XYZxyz(53.1854, 56.5558, 15.7028)
Luminance0.5655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C450 #5070E4
analogous
#E47A50 #E4C450 #BAE450
triadic
#E4C450 #50E4C4 #C450E4
tetradic
#E4C450 #50E47A #5070E4 #E450BA
square
#E4C450 #50E47A #5070E4 #E450BA
split-complementary
#E4C450 #50BAE4 #7A50E4
monochromatic
#A18319 #D6AF21 #E4C450 #ECD685 #F4E8BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4C450#FFFFFF#000000##000000
##E4C4501.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)
#D7C142
Deuteranopia (green-blind)
#E0CA56
Tritanopia (blue-blind)
#F6B5AB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e4c450;
/* rgb */ color: rgb(228, 196, 80);
/* oklch */ color: oklch(82.7% 0.138 93.7);
Tailwind
colors: {
  custom: {
    50: '#f0d586',
    500: '#e4c450',
    950: '#000000',
  },
}
SCSS
$custom: #e4c450;
$custom-light: #f0d586;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c450",
  "rgb": {
    "r": 228,
    "g": 196,
    "b": 80
  },
  "hsl": {
    "h": 47.027,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82655,
    "c": 0.13764,
    "h": 93.7
  },
  "luminance": 0.56553
}

Semantic roles & 50–950 ramp

primary
#E4C450
secondary
#354DA4
accent
#3BD510
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4C450

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

Preview Lab → · Contrast checker → · Palette generator →

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