#E2C548#E2C548

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

Color values

HEX#E2C548
RGBrgb(226, 197, 72)
HSLhsl(49, 73%, 58%)
HSVhsv(49, 68%, 89%)
CMYKcmyk(0%, 12.8%, 68.1%, 11.4%)
CIE-LABlab(79.94, -3.27, 63.79)
CIE-LCHlch(79.94, 63.87, 92.94°)
OKLaboklab(82.6% -0.0148 0.1431)
OKLCHoklch(82.6% 0.144 95.9)
XYZxyz(52.5025, 56.5718, 14.2836)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C548 #4865E2
analogous
#E27848 #E2C548 #B2E248
triadic
#E2C548 #48E2C5 #C548E2
tetradic
#E2C548 #48E278 #4865E2 #E248B2
square
#E2C548 #48E278 #4865E2 #E248B2
split-complementary
#E2C548 #48B2E2 #7848E2
monochromatic
#988018 #CCAC20 #E2C548 #EAD67D #F3E6B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2C548#FFFFFF#000000##000000
##E2C5481.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)
#D8C137
Deuteranopia (green-blind)
#E0CA4F
Tritanopia (blue-blind)
#F3B6AB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e2c548;
/* rgb */ color: rgb(226, 197, 72);
/* oklch */ color: oklch(82.6% 0.144 95.9);
Tailwind
colors: {
  custom: {
    50: '#efd681',
    500: '#e2c548',
    950: '#000000',
  },
}
SCSS
$custom: #e2c548;
$custom-light: #efd681;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c548",
  "rgb": {
    "r": 226,
    "g": 197,
    "b": 72
  },
  "hsl": {
    "h": 48.701,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82599,
    "c": 0.14383,
    "h": 95.9
  },
  "luminance": 0.56569
}

Semantic roles & 50–950 ramp

primary
#E2C548
secondary
#33469C
accent
#5BEF38
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C548

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

Preview Lab → · Contrast checker → · Palette generator →

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