#E1C145#E1C145

#E1C145 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.7% C 0.143 H 94.3°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#E1C145
RGBrgb(225, 193, 69)
HSLhsl(48, 72%, 58%)
HSVhsv(48, 69%, 88%)
CMYKcmyk(0%, 14.2%, 69.3%, 11.8%)
CIE-LABlab(78.80, -1.79, 63.80)
CIE-LCHlch(78.80, 63.82, 91.61°)
OKLaboklab(81.67% -0.0108 0.1426)
OKLCHoklch(81.67% 0.143 94.3)
XYZxyz(51.1981, 54.5799, 13.4673)
Luminance0.5458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1C145 #4565E1
analogous
#E17345 #E1C145 #B3E145
triadic
#E1C145 #45E1C1 #C145E1
tetradic
#E1C145 #45E173 #4565E1 #E145B3
square
#E1C145 #45E173 #4565E1 #E145B3
split-complementary
#E1C145 #45B3E1 #7345E1
monochromatic
#947A18 #C8A620 #E1C145 #E9D37A #F2E4AE

Accessibility & contrast

On white

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

On black

11.92
#E1C145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1C145
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1C145#FFFFFF#000000##000000
##E1C1451.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD34
Deuteranopia (green-blind)
#DDC74C
Tritanopia (blue-blind)
#F3B2A8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e1c145;
/* rgb */ color: rgb(225, 193, 69);
/* oklch */ color: oklch(81.7% 0.143 94.3);
Tailwind
colors: {
  custom: {
    50: '#eed37f',
    500: '#e1c145',
    950: '#000000',
  },
}
SCSS
$custom: #e1c145;
$custom-light: #eed37f;
$custom-dark: #000000;
JSON
{
  "hex": "#e1c145",
  "rgb": {
    "r": 225,
    "g": 193,
    "b": 69
  },
  "hsl": {
    "h": 47.692,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81669,
    "c": 0.14302,
    "h": 94.3
  },
  "luminance": 0.54577
}

Semantic roles & 50–950 ramp

primary
#E1C145
secondary
#324798
accent
#5EEF39
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E1C145

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

Preview Lab → · Contrast checker → · Palette generator →

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