#E1C242#E1C242

#E1C242 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.8% C 0.146 H 95.1°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#E1C242
RGBrgb(225, 194, 66)
HSLhsl(48, 73%, 57%)
HSVhsv(48, 71%, 88%)
CMYKcmyk(0%, 13.8%, 70.7%, 11.8%)
CIE-LABlab(79.03, -2.46, 65.21)
CIE-LCHlch(79.03, 65.26, 92.16°)
OKLaboklab(81.85% -0.0131 0.1451)
OKLCHoklch(81.85% 0.146 95.1)
XYZxyz(51.3291, 54.9872, 13.0632)
Luminance0.5498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1C242 #4261E1
analogous
#E17342 #E1C242 #B1E142
triadic
#E1C242 #42E1C2 #C242E1
tetradic
#E1C242 #42E173 #4261E1 #E142B1
square
#E1C242 #42E173 #4261E1 #E142B1
split-complementary
#E1C242 #42B1E1 #7342E1
monochromatic
#927A17 #C6A61F #E1C242 #E9D377 #F2E4AC

Accessibility & contrast

On white

1.75
#E1C242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#E1C242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1C242
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1C242#FFFFFF#000000##000000
##E1C2421.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2F
Deuteranopia (green-blind)
#DEC849
Tritanopia (blue-blind)
#F3B3A8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e1c242;
/* rgb */ color: rgb(225, 194, 66);
/* oklch */ color: oklch(81.8% 0.146 95.1);
Tailwind
colors: {
  custom: {
    50: '#eed47e',
    500: '#e1c242',
    950: '#000000',
  },
}
SCSS
$custom: #e1c242;
$custom-light: #eed47e;
$custom-dark: #000000;
JSON
{
  "hex": "#e1c242",
  "rgb": {
    "r": 225,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 48.302,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81849,
    "c": 0.14566,
    "h": 95.1
  },
  "luminance": 0.54984
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E1C242

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

Preview Lab → · Contrast checker → · Palette generator →

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