#E2C511#E2C511

#E2C511 is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.3% C 0.168 H 98.3°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#E2C511
RGBrgb(226, 197, 17)
HSLhsl(52, 86%, 48%)
HSVhsv(52, 92%, 89%)
CMYKcmyk(0%, 12.8%, 92.5%, 11.4%)
CIE-LABlab(79.70, -5.03, 78.99)
CIE-LCHlch(79.70, 79.15, 93.65°)
OKLaboklab(82.33% -0.0241 0.1661)
OKLCHoklch(82.33% 0.168 98.3)
XYZxyz(51.4344, 56.1446, 8.6580)
Luminance0.5614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C511 #112EE2
analogous
#E25D11 #E2C511 #96E211
triadic
#E2C511 #11E2C5 #C511E2
tetradic
#E2C511 #11E25D #112EE2 #E21196
square
#E2C511 #11E25D #112EE2 #E21196
split-complementary
#E2C511 #1196E2 #5D11E2
monochromatic
#706208 #A9930D #E2C511 #F1D840 #F5E479

Accessibility & contrast

On white

1.72
#E2C511 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#E2C511 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C511
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C511#FFFFFF#000000##000000
##E2C5111.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC000
Deuteranopia (green-blind)
#E2CA27
Tritanopia (blue-blind)
#F5B5A8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e2c511;
/* rgb */ color: rgb(226, 197, 17);
/* oklch */ color: oklch(82.3% 0.168 98.3);
Tailwind
colors: {
  custom: {
    50: '#f0d66b',
    500: '#e2c511',
    950: '#000000',
  },
}
SCSS
$custom: #e2c511;
$custom-light: #f0d66b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c511",
  "rgb": {
    "r": 226,
    "g": 197,
    "b": 17
  },
  "hsl": {
    "h": 51.675,
    "s": 86.008,
    "l": 47.647
  },
  "oklch": {
    "l": 0.8233,
    "c": 0.16788,
    "h": 98.3
  },
  "luminance": 0.56142
}

Semantic roles & 50–950 ramp

primary
#E2C511
secondary
#1E2B79
accent
#49FC2C
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#181408
muted
#86837D

Preview Lab

Preview with #E2C511

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

Preview Lab → · Contrast checker → · Palette generator →

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