#E5C241#E5C241

#E5C241 is a very light, vivid yellow. Relative luminance 0.556; OKLCH L 82.2% C 0.147 H 93.4°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#E5C241
RGBrgb(229, 194, 65)
HSLhsl(47, 76%, 58%)
HSVhsv(47, 72%, 90%)
CMYKcmyk(0%, 15.3%, 71.6%, 10.2%)
CIE-LABlab(79.40, -0.80, 66.08)
CIE-LCHlch(79.40, 66.09, 90.70°)
OKLaboklab(82.22% -0.0087 0.1466)
OKLCHoklch(82.22% 0.147 93.4)
XYZxyz(52.5618, 55.6262, 12.9684)
Luminance0.5562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C241 #4164E5
analogous
#E57041 #E5C241 #B6E541
triadic
#E5C241 #41E5C2 #C241E5
tetradic
#E5C241 #41E570 #4164E5 #E541B6
square
#E5C241 #41E570 #4164E5 #E541B6
split-complementary
#E5C241 #41B6E5 #7041E5
monochromatic
#977B15 #CDA71C #E5C241 #ECD377 #F4E5AD

Accessibility & contrast

On white

1.73
#E5C241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#E5C241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C241
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C241#FFFFFF#000000##000000
##E5C2411.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2D
Deuteranopia (green-blind)
#DFC948
Tritanopia (blue-blind)
#F7B3A8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e5c241;
/* rgb */ color: rgb(229, 194, 65);
/* oklch */ color: oklch(82.2% 0.147 93.4);
Tailwind
colors: {
  custom: {
    50: '#f1d47d',
    500: '#e5c241',
    950: '#000000',
  },
}
SCSS
$custom: #e5c241;
$custom-light: #f1d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c241",
  "rgb": {
    "r": 229,
    "g": 194,
    "b": 65
  },
  "hsl": {
    "h": 47.195,
    "s": 75.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82223,
    "c": 0.14685,
    "h": 93.4
  },
  "luminance": 0.55623
}

Semantic roles & 50–950 ramp

primary
#E5C241
secondary
#2F469B
accent
#5EF335
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #E5C241

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

Preview Lab → · Contrast checker → · Palette generator →

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