#E2C05A#E2C05A

#E2C05A is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.8% C 0.127 H 90.9°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#E2C05A
RGBrgb(226, 192, 90)
HSLhsl(45, 70%, 62%)
HSVhsv(45, 60%, 89%)
CMYKcmyk(0%, 15%, 60.2%, 11.4%)
CIE-LABlab(78.82, 0.41, 54.80)
CIE-LCHlch(78.82, 54.80, 89.57°)
OKLaboklab(81.76% -0.0021 0.1266)
OKLCHoklch(81.76% 0.127 90.9)
XYZxyz(52.0615, 54.6090, 17.4693)
Luminance0.5461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C05A #5A7CE2
analogous
#E27C5A #E2C05A #C0E25A
triadic
#E2C05A #5AE2C0 #C05AE2
tetradic
#E2C05A #5AE27C #5A7CE2 #E25AC0
square
#E2C05A #5AE27C #5A7CE2 #E25AC0
split-complementary
#E2C05A #5AC0E2 #7C5AE2
monochromatic
#A5831D #D9AC26 #E2C05A #EBD48E #F4E8C2

Accessibility & contrast

On white

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

On black

11.92
#E2C05A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C05A
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C05A#FFFFFF#000000##000000
##E2C05A1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD50
Deuteranopia (green-blind)
#DBC75E
Tritanopia (blue-blind)
#F3B2A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e2c05a;
/* rgb */ color: rgb(226, 192, 90);
/* oklch */ color: oklch(81.8% 0.127 90.9);
Tailwind
colors: {
  custom: {
    50: '#eed28c',
    500: '#e2c05a',
    950: '#000000',
  },
}
SCSS
$custom: #e2c05a;
$custom-light: #eed28c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c05a",
  "rgb": {
    "r": 226,
    "g": 192,
    "b": 90
  },
  "hsl": {
    "h": 45,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.81762,
    "c": 0.12665,
    "h": 90.9
  },
  "luminance": 0.54606
}

Semantic roles & 50–950 ramp

primary
#E2C05A
secondary
#3955A7
accent
#43D213
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C05A

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

Preview Lab → · Contrast checker → · Palette generator →

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