#E1C042#E1C042

#E1C042 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.4% C 0.144 H 94.0°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#E1C042
RGBrgb(225, 192, 66)
HSLhsl(48, 73%, 57%)
HSVhsv(48, 71%, 88%)
CMYKcmyk(0%, 14.7%, 70.7%, 11.8%)
CIE-LABlab(78.52, -1.42, 64.70)
CIE-LCHlch(78.52, 64.72, 91.26°)
OKLaboklab(81.44% -0.0101 0.144)
OKLCHoklch(81.44% 0.144 94)
XYZxyz(50.8870, 54.1030, 12.9158)
Luminance0.5410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1C042 #4263E1
analogous
#E17142 #E1C042 #B3E142
triadic
#E1C042 #42E1C0 #C042E1
tetradic
#E1C042 #42E171 #4263E1 #E142B3
square
#E1C042 #42E171 #4263E1 #E142B3
split-complementary
#E1C042 #42B3E1 #7142E1
monochromatic
#927817 #C6A41F #E1C042 #E9D277 #F2E3AC

Accessibility & contrast

On white

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

On black

11.82
#E1C042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1C042
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1C042#FFFFFF#000000##000000
##E1C0421.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD30
Deuteranopia (green-blind)
#DCC749
Tritanopia (blue-blind)
#F3B1A7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e1c042;
/* rgb */ color: rgb(225, 192, 66);
/* oklch */ color: oklch(81.4% 0.144 94.0);
Tailwind
colors: {
  custom: {
    50: '#eed27e',
    500: '#e1c042',
    950: '#000000',
  },
}
SCSS
$custom: #e1c042;
$custom-light: #eed27e;
$custom-dark: #000000;
JSON
{
  "hex": "#e1c042",
  "rgb": {
    "r": 225,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 47.547,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81444,
    "c": 0.14434,
    "h": 94
  },
  "luminance": 0.541
}

Semantic roles & 50–950 ramp

primary
#E1C042
secondary
#314696
accent
#5EEF38
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #E1C042

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

Preview Lab → · Contrast checker → · Palette generator →

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