#E2C050#E2C050

#E2C050 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.7% C 0.135 H 92.2°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#E2C050
RGBrgb(226, 192, 80)
HSLhsl(46, 72%, 60%)
HSVhsv(46, 65%, 89%)
CMYKcmyk(0%, 15%, 64.6%, 11.4%)
CIE-LABlab(78.72, -0.23, 59.17)
CIE-LCHlch(78.72, 59.17, 90.23°)
OKLaboklab(81.66% -0.0051 0.1346)
OKLCHoklch(81.66% 0.135 92.2)
XYZxyz(51.6642, 54.4500, 15.3765)
Luminance0.5445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C050 #5072E2
analogous
#E27750 #E2C050 #BBE250
triadic
#E2C050 #50E2C0 #C050E2
tetradic
#E2C050 #50E277 #5072E2 #E250BB
square
#E2C050 #50E277 #5072E2 #E250BB
split-complementary
#E2C050 #50BBE2 #7750E2
monochromatic
#9E7F1A #D2A923 #E2C050 #EBD384 #F3E6B9

Accessibility & contrast

On white

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

On black

11.89
#E2C050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C050
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C050#FFFFFF#000000##000000
##E2C0501.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD43
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#F3B2A8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e2c050;
/* rgb */ color: rgb(226, 192, 80);
/* oklch */ color: oklch(81.7% 0.135 92.2);
Tailwind
colors: {
  custom: {
    50: '#efd286',
    500: '#e2c050',
    950: '#000000',
  },
}
SCSS
$custom: #e2c050;
$custom-light: #efd286;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c050",
  "rgb": {
    "r": 226,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 46.027,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.81659,
    "c": 0.13466,
    "h": 92.2
  },
  "luminance": 0.54447
}

Semantic roles & 50–950 ramp

primary
#E2C050
secondary
#354EA1
accent
#64EE39
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C050

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

Preview Lab → · Contrast checker → · Palette generator →

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