#E1C045#E1C045

#E1C045 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.5% C 0.142 H 93.8°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#E1C045
RGBrgb(225, 192, 69)
HSLhsl(47, 72%, 58%)
HSVhsv(47, 69%, 88%)
CMYKcmyk(0%, 14.7%, 69.3%, 11.8%)
CIE-LABlab(78.54, -1.27, 63.54)
CIE-LCHlch(78.54, 63.55, 91.15°)
OKLaboklab(81.47% -0.0093 0.1421)
OKLCHoklch(81.47% 0.142 93.8)
XYZxyz(50.9778, 54.1393, 13.3939)
Luminance0.5414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1C045 #4566E1
analogous
#E17245 #E1C045 #B4E145
triadic
#E1C045 #45E1C0 #C045E1
tetradic
#E1C045 #45E172 #4566E1 #E145B4
square
#E1C045 #45E172 #4566E1 #E145B4
split-complementary
#E1C045 #45B4E1 #7245E1
monochromatic
#947A18 #C8A520 #E1C045 #E9D27A #F2E4AE

Accessibility & contrast

On white

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

On black

11.83
#E1C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1C045
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1C045#FFFFFF#000000##000000
##E1C0451.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e1c045;
/* rgb */ color: rgb(225, 192, 69);
/* oklch */ color: oklch(81.5% 0.142 93.8);
Tailwind
colors: {
  custom: {
    50: '#eed27f',
    500: '#e1c045',
    950: '#000000',
  },
}
SCSS
$custom: #e1c045;
$custom-light: #eed27f;
$custom-dark: #000000;
JSON
{
  "hex": "#e1c045",
  "rgb": {
    "r": 225,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 47.308,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81467,
    "c": 0.14237,
    "h": 93.8
  },
  "luminance": 0.54136
}

Semantic roles & 50–950 ramp

primary
#E1C045
secondary
#324898
accent
#5FEF39
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E1C045

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

Preview Lab → · Contrast checker → · Palette generator →

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