#E2C149#E2C149

#E2C149 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.8% C 0.140 H 93.5°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#E2C149
RGBrgb(226, 193, 73)
HSLhsl(47, 73%, 59%)
HSVhsv(47, 68%, 89%)
CMYKcmyk(0%, 14.6%, 67.7%, 11.4%)
CIE-LABlab(78.92, -1.15, 62.33)
CIE-LCHlch(78.92, 62.34, 91.06°)
OKLaboklab(81.8% -0.0086 0.1402)
OKLCHoklch(81.8% 0.14 93.5)
XYZxyz(51.6392, 54.7925, 14.1581)
Luminance0.5479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C149 #496AE2
analogous
#E27449 #E2C149 #B6E249
triadic
#E2C149 #49E2C1 #C149E2
tetradic
#E2C149 #49E274 #496AE2 #E249B6
square
#E2C149 #49E274 #496AE2 #E249B6
split-complementary
#E2C149 #49B6E2 #7449E2
monochromatic
#987D18 #CDA821 #E2C149 #EAD37E #F3E5B3

Accessibility & contrast

On white

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

On black

11.96
#E2C149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C149
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C149#FFFFFF#000000##000000
##E2C1491.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE39
Deuteranopia (green-blind)
#DDC84F
Tritanopia (blue-blind)
#F4B2A8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e2c149;
/* rgb */ color: rgb(226, 193, 73);
/* oklch */ color: oklch(81.8% 0.140 93.5);
Tailwind
colors: {
  custom: {
    50: '#efd382',
    500: '#e2c149',
    950: '#000000',
  },
}
SCSS
$custom: #e2c149;
$custom-light: #efd382;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c149",
  "rgb": {
    "r": 226,
    "g": 193,
    "b": 73
  },
  "hsl": {
    "h": 47.059,
    "s": 72.512,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81798,
    "c": 0.14042,
    "h": 93.5
  },
  "luminance": 0.5479
}

Semantic roles & 50–950 ramp

primary
#E2C149
secondary
#334A9C
accent
#60EF39
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C149

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

Preview Lab → · Contrast checker → · Palette generator →

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