#E2C03D#E2C03D

#E2C03D is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.5% C 0.148 H 93.9°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#E2C03D
RGBrgb(226, 192, 61)
HSLhsl(48, 74%, 56%)
HSVhsv(48, 73%, 89%)
CMYKcmyk(0%, 15%, 73%, 11.4%)
CIE-LABlab(78.58, -1.23, 66.69)
CIE-LCHlch(78.58, 66.70, 91.06°)
OKLaboklab(81.5% -0.0102 0.1472)
OKLCHoklch(81.5% 0.148 93.9)
XYZxyz(51.0587, 54.2079, 12.1878)
Luminance0.5421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C03D #3D5FE2
analogous
#E26E3D #E2C03D #B2E23D
triadic
#E2C03D #3DE2C0 #C03DE2
tetradic
#E2C03D #3DE26E #3D5FE2 #E23DB2
square
#E2C03D #3DE26E #3D5FE2 #E23DB2
split-complementary
#E2C03D #3DB2E2 #6E3DE2
monochromatic
#8F7615 #C4A21D #E2C03D #EAD172 #F2E3A7

Accessibility & contrast

On white

1.77
#E2C03D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#E2C03D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C03D
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C03D#FFFFFF#000000##000000
##E2C03D1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD28
Deuteranopia (green-blind)
#DDC745
Tritanopia (blue-blind)
#F4B1A6
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e2c03d;
/* rgb */ color: rgb(226, 192, 61);
/* oklch */ color: oklch(81.5% 0.148 93.9);
Tailwind
colors: {
  custom: {
    50: '#efd27b',
    500: '#e2c03d',
    950: '#000000',
  },
}
SCSS
$custom: #e2c03d;
$custom-light: #efd27b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c03d",
  "rgb": {
    "r": 226,
    "g": 192,
    "b": 61
  },
  "hsl": {
    "h": 47.636,
    "s": 73.991,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81503,
    "c": 0.14759,
    "h": 93.9
  },
  "luminance": 0.54205
}

Semantic roles & 50–950 ramp

primary
#E2C03D
secondary
#2F4494
accent
#5DF137
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #E2C03D

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

Preview Lab → · Contrast checker → · Palette generator →

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