#E1C142#E1C142

#E1C142 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.6% C 0.145 H 94.6°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#E1C142
RGBrgb(225, 193, 66)
HSLhsl(48, 73%, 57%)
HSVhsv(48, 71%, 88%)
CMYKcmyk(0%, 14.2%, 70.7%, 11.8%)
CIE-LABlab(78.78, -1.94, 64.95)
CIE-LCHlch(78.78, 64.98, 91.71°)
OKLaboklab(81.65% -0.0116 0.1445)
OKLCHoklch(81.65% 0.145 94.6)
XYZxyz(51.1073, 54.5436, 12.9892)
Luminance0.5454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1C142 #4262E1
analogous
#E17242 #E1C142 #B1E142
triadic
#E1C142 #42E1C1 #C142E1
tetradic
#E1C142 #42E172 #4262E1 #E142B1
square
#E1C142 #42E172 #4262E1 #E142B1
split-complementary
#E1C142 #42B1E1 #7242E1
monochromatic
#927917 #C6A51F #E1C142 #E9D277 #F2E4AC

Accessibility & contrast

On white

1.76
#E1C142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#E1C142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1C142
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1C142#FFFFFF#000000##000000
##E1C1421.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2F
Deuteranopia (green-blind)
#DDC749
Tritanopia (blue-blind)
#F3B2A7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e1c142;
/* rgb */ color: rgb(225, 193, 66);
/* oklch */ color: oklch(81.6% 0.145 94.6);
Tailwind
colors: {
  custom: {
    50: '#eed37e',
    500: '#e1c142',
    950: '#000000',
  },
}
SCSS
$custom: #e1c142;
$custom-light: #eed37e;
$custom-dark: #000000;
JSON
{
  "hex": "#e1c142",
  "rgb": {
    "r": 225,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 47.925,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81646,
    "c": 0.14499,
    "h": 94.6
  },
  "luminance": 0.54541
}

Semantic roles & 50–950 ramp

primary
#E1C142
secondary
#314596
accent
#5DEF38
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #E1C142

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

Preview Lab → · Contrast checker → · Palette generator →

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