#E2C13D#E2C13D

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

Color values

HEX#E2C13D
RGBrgb(226, 193, 61)
HSLhsl(48, 74%, 56%)
HSVhsv(48, 73%, 89%)
CMYKcmyk(0%, 14.6%, 73%, 11.4%)
CIE-LABlab(78.84, -1.75, 66.93)
CIE-LCHlch(78.84, 66.96, 91.49°)
OKLaboklab(81.71% -0.0116 0.1478)
OKLCHoklch(81.71% 0.148 94.5)
XYZxyz(51.2790, 54.6485, 12.2612)
Luminance0.5465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C13D #3D5EE2
analogous
#E26F3D #E2C13D #B1E23D
triadic
#E2C13D #3DE2C1 #C13DE2
tetradic
#E2C13D #3DE26F #3D5EE2 #E23DB1
square
#E2C13D #3DE26F #3D5EE2 #E23DB1
split-complementary
#E2C13D #3DB1E2 #6F3DE2
monochromatic
#8F7715 #C4A31D #E2C13D #EAD272 #F2E3A7

Accessibility & contrast

On white

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

On black

11.93
#E2C13D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C13D
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C13D#FFFFFF#000000##000000
##E2C13D1.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2c13d;
/* rgb */ color: rgb(226, 193, 61);
/* oklch */ color: oklch(81.7% 0.148 94.5);
Tailwind
colors: {
  custom: {
    50: '#efd37b',
    500: '#e2c13d',
    950: '#000000',
  },
}
SCSS
$custom: #e2c13d;
$custom-light: #efd37b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c13d",
  "rgb": {
    "r": 226,
    "g": 193,
    "b": 61
  },
  "hsl": {
    "h": 48,
    "s": 73.991,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81705,
    "c": 0.14823,
    "h": 94.5
  },
  "luminance": 0.54646
}

Semantic roles & 50–950 ramp

primary
#E2C13D
secondary
#2F4394
accent
#5CF137
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #E2C13D

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

Preview Lab → · Contrast checker → · Palette generator →

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