#E2C04A#E2C04A

#E2C04A is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.6% C 0.139 H 92.8°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#E2C04A
RGBrgb(226, 192, 74)
HSLhsl(47, 72%, 59%)
HSVhsv(47, 67%, 89%)
CMYKcmyk(0%, 15%, 67.3%, 11.4%)
CIE-LABlab(78.67, -0.58, 61.66)
CIE-LCHlch(78.67, 61.67, 90.54°)
OKLaboklab(81.61% -0.0068 0.1389)
OKLCHoklch(81.61% 0.139 92.8)
XYZxyz(51.4523, 54.3653, 14.2607)
Luminance0.5436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C04A #4A6CE2
analogous
#E2744A #E2C04A #B8E24A
triadic
#E2C04A #4AE2C0 #C04AE2
tetradic
#E2C04A #4AE274 #4A6CE2 #E24AB8
square
#E2C04A #4AE274 #4A6CE2 #E24AB8
split-complementary
#E2C04A #4AB8E2 #744AE2
monochromatic
#997C19 #CEA721 #E2C04A #EAD27F #F3E5B3

Accessibility & contrast

On white

1.77
#E2C04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#E2C04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C04A
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C04A#FFFFFF#000000##000000
##E2C04A1.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD3B
Deuteranopia (green-blind)
#DCC750
Tritanopia (blue-blind)
#F4B1A7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e2c04a;
/* rgb */ color: rgb(226, 192, 74);
/* oklch */ color: oklch(81.6% 0.139 92.8);
Tailwind
colors: {
  custom: {
    50: '#efd282',
    500: '#e2c04a',
    950: '#000000',
  },
}
SCSS
$custom: #e2c04a;
$custom-light: #efd282;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c04a",
  "rgb": {
    "r": 226,
    "g": 192,
    "b": 74
  },
  "hsl": {
    "h": 46.579,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81605,
    "c": 0.13908,
    "h": 92.8
  },
  "luminance": 0.54362
}

Semantic roles & 50–950 ramp

primary
#E2C04A
secondary
#334B9D
accent
#62EF39
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C04A

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

Preview Lab → · Contrast checker → · Palette generator →

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