#E0C045#E0C045

#E0C045 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.4% C 0.142 H 94.2°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#E0C045
RGBrgb(224, 192, 69)
HSLhsl(48, 71%, 57%)
HSVhsv(48, 69%, 88%)
CMYKcmyk(0%, 14.3%, 69.2%, 12.2%)
CIE-LABlab(78.45, -1.70, 63.41)
CIE-LCHlch(78.45, 63.44, 91.53°)
OKLaboklab(81.37% -0.0105 0.1418)
OKLCHoklch(81.37% 0.142 94.2)
XYZxyz(50.6669, 53.9790, 13.3793)
Luminance0.5398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0C045 #4565E0
analogous
#E07345 #E0C045 #B2E045
triadic
#E0C045 #45E0C0 #C045E0
tetradic
#E0C045 #45E073 #4565E0 #E045B2
square
#E0C045 #45E073 #4565E0 #E045B2
split-complementary
#E0C045 #45B2E0 #7345E0
monochromatic
#927918 #C7A521 #E0C045 #E9D279 #F1E4AE

Accessibility & contrast

On white

1.78
#E0C045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#E0C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0C045
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0C045#FFFFFF#000000##000000
##E0C0451.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC34
Deuteranopia (green-blind)
#DCC64C
Tritanopia (blue-blind)
#F2B1A7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e0c045;
/* rgb */ color: rgb(224, 192, 69);
/* oklch */ color: oklch(81.4% 0.142 94.2);
Tailwind
colors: {
  custom: {
    50: '#eed27f',
    500: '#e0c045',
    950: '#000000',
  },
}
SCSS
$custom: #e0c045;
$custom-light: #eed27f;
$custom-dark: #000000;
JSON
{
  "hex": "#e0c045",
  "rgb": {
    "r": 224,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 47.613,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81371,
    "c": 0.14222,
    "h": 94.2
  },
  "luminance": 0.53976
}

Semantic roles & 50–950 ramp

primary
#E0C045
secondary
#324797
accent
#5FEE3A
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E0C045

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

Preview Lab → · Contrast checker → · Palette generator →

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