#E2C048#E2C048

#E2C048 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.6% C 0.140 H 93.0°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#E2C048
RGBrgb(226, 192, 72)
HSLhsl(47, 73%, 58%)
HSVhsv(47, 68%, 89%)
CMYKcmyk(0%, 15%, 68.1%, 11.4%)
CIE-LABlab(78.66, -0.69, 62.47)
CIE-LCHlch(78.66, 62.48, 90.63°)
OKLaboklab(81.59% -0.0074 0.1403)
OKLCHoklch(81.59% 0.14 93)
XYZxyz(51.3860, 54.3388, 13.9115)
Luminance0.5434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C048 #486AE2
analogous
#E27348 #E2C048 #B7E248
triadic
#E2C048 #48E2C0 #C048E2
tetradic
#E2C048 #48E273 #486AE2 #E248B7
square
#E2C048 #48E273 #486AE2 #E248B7
split-complementary
#E2C048 #48B7E2 #7348E2
monochromatic
#987B18 #CCA620 #E2C048 #EAD27D #F3E4B2

Accessibility & contrast

On white

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

On black

11.87
#E2C048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C048
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C048#FFFFFF#000000##000000
##E2C0481.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD38
Deuteranopia (green-blind)
#DCC74E
Tritanopia (blue-blind)
#F4B1A7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e2c048;
/* rgb */ color: rgb(226, 192, 72);
/* oklch */ color: oklch(81.6% 0.140 93.0);
Tailwind
colors: {
  custom: {
    50: '#efd281',
    500: '#e2c048',
    950: '#000000',
  },
}
SCSS
$custom: #e2c048;
$custom-light: #efd281;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c048",
  "rgb": {
    "r": 226,
    "g": 192,
    "b": 72
  },
  "hsl": {
    "h": 46.753,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81588,
    "c": 0.14048,
    "h": 93
  },
  "luminance": 0.54336
}

Semantic roles & 50–950 ramp

primary
#E2C048
secondary
#334A9C
accent
#61EF38
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C048

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

Preview Lab → · Contrast checker → · Palette generator →

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