#E2C141#E2C141

#E2C141 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.7% C 0.146 H 94.2°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#E2C141
RGBrgb(226, 193, 65)
HSLhsl(48, 74%, 57%)
HSVhsv(48, 71%, 89%)
CMYKcmyk(0%, 14.6%, 71.2%, 11.4%)
CIE-LABlab(78.86, -1.56, 65.46)
CIE-LCHlch(78.86, 65.48, 91.37°)
OKLaboklab(81.73% -0.0107 0.1454)
OKLCHoklch(81.73% 0.146 94.2)
XYZxyz(51.3908, 54.6932, 12.8500)
Luminance0.5469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C141 #4162E2
analogous
#E27141 #E2C141 #B2E241
triadic
#E2C141 #41E2C1 #C141E2
tetradic
#E2C141 #41E271 #4162E2 #E241B2
square
#E2C141 #41E271 #4162E2 #E241B2
split-complementary
#E2C141 #41B2E2 #7141E2
monochromatic
#927916 #C7A51E #E2C141 #EAD276 #F2E4AB

Accessibility & contrast

On white

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

On black

11.94
#E2C141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C141
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C141#FFFFFF#000000##000000
##E2C1411.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2E
Deuteranopia (green-blind)
#DDC748
Tritanopia (blue-blind)
#F4B2A7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e2c141;
/* rgb */ color: rgb(226, 193, 65);
/* oklch */ color: oklch(81.7% 0.146 94.2);
Tailwind
colors: {
  custom: {
    50: '#efd37d',
    500: '#e2c141',
    950: '#000000',
  },
}
SCSS
$custom: #e2c141;
$custom-light: #efd37d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c141",
  "rgb": {
    "r": 226,
    "g": 193,
    "b": 65
  },
  "hsl": {
    "h": 47.702,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81734,
    "c": 0.14577,
    "h": 94.2
  },
  "luminance": 0.5469
}

Semantic roles & 50–950 ramp

primary
#E2C141
secondary
#304597
accent
#5DF038
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #E2C141

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

Preview Lab → · Contrast checker → · Palette generator →

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