#E2C545#E2C545

#E2C545 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.6% C 0.146 H 96.1°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#E2C545
RGBrgb(226, 197, 69)
HSLhsl(49, 73%, 58%)
HSVhsv(49, 69%, 89%)
CMYKcmyk(0%, 12.8%, 69.5%, 11.4%)
CIE-LABlab(79.92, -3.43, 64.96)
CIE-LCHlch(79.92, 65.05, 93.02°)
OKLaboklab(82.58% -0.0156 0.145)
OKLCHoklch(82.58% 0.146 96.1)
XYZxyz(52.4070, 56.5337, 13.7807)
Luminance0.5653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C545 #4562E2
analogous
#E27645 #E2C545 #B1E245
triadic
#E2C545 #45E2C5 #C545E2
tetradic
#E2C545 #45E276 #4562E2 #E245B1
square
#E2C545 #45E276 #4562E2 #E245B1
split-complementary
#E2C545 #45B1E2 #7645E2
monochromatic
#957E17 #CAAB20 #E2C545 #EAD67A #F3E6AF

Accessibility & contrast

On white

1.71
#E2C545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#E2C545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C545
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C545#FFFFFF#000000##000000
##E2C5451.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C133
Deuteranopia (green-blind)
#E0CA4C
Tritanopia (blue-blind)
#F4B6AB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e2c545;
/* rgb */ color: rgb(226, 197, 69);
/* oklch */ color: oklch(82.6% 0.146 96.1);
Tailwind
colors: {
  custom: {
    50: '#efd680',
    500: '#e2c545',
    950: '#000000',
  },
}
SCSS
$custom: #e2c545;
$custom-light: #efd680;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c545",
  "rgb": {
    "r": 226,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 48.917,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82575,
    "c": 0.14586,
    "h": 96.1
  },
  "luminance": 0.56531
}

Semantic roles & 50–950 ramp

primary
#E2C545
secondary
#32459A
accent
#5AF038
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C545

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

Preview Lab → · Contrast checker → · Palette generator →

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