#E0C451#E0C451

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

Color values

HEX#E0C451
RGBrgb(224, 196, 81)
HSLhsl(48, 70%, 60%)
HSVhsv(48, 64%, 88%)
CMYKcmyk(0%, 12.5%, 63.8%, 12.2%)
CIE-LABlab(79.57, -3.09, 59.59)
CIE-LCHlch(79.57, 59.67, 92.97°)
OKLaboklab(82.29% -0.0131 0.1357)
OKLCHoklch(82.29% 0.136 95.5)
XYZxyz(51.9680, 55.9238, 15.8401)
Luminance0.5592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0C451 #516DE0
analogous
#E07D51 #E0C451 #B4E051
triadic
#E0C451 #51E0C4 #C451E0
tetradic
#E0C451 #51E07D #516DE0 #E051B4
square
#E0C451 #51E07D #516DE0 #E051B4
split-complementary
#E0C451 #51B4E0 #7D51E0
monochromatic
#9B821C #CFAE25 #E0C451 #E9D685 #F3E7B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E0C451#FFFFFF#000000##000000
##E0C4511.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)
#D7C044
Deuteranopia (green-blind)
#DEC957
Tritanopia (blue-blind)
#F1B6AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e0c451;
/* rgb */ color: rgb(224, 196, 81);
/* oklch */ color: oklch(82.3% 0.136 95.5);
Tailwind
colors: {
  custom: {
    50: '#edd587',
    500: '#e0c451',
    950: '#000000',
  },
}
SCSS
$custom: #e0c451;
$custom-light: #edd587;
$custom-dark: #000000;
JSON
{
  "hex": "#e0c451",
  "rgb": {
    "r": 224,
    "g": 196,
    "b": 81
  },
  "hsl": {
    "h": 48.252,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82288,
    "c": 0.13629,
    "h": 95.5
  },
  "luminance": 0.55921
}

Semantic roles & 50–950 ramp

primary
#E0C451
secondary
#374B9F
accent
#5EED3B
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E0C451

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

Preview Lab → · Contrast checker → · Palette generator →

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