#E2CD48#E2CD48

#E2CD48 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.2% C 0.150 H 100.2°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#E2CD48
RGBrgb(226, 205, 72)
HSLhsl(52, 73%, 58%)
HSVhsv(52, 68%, 89%)
CMYKcmyk(0%, 9.3%, 68.1%, 11.4%)
CIE-LABlab(82.00, -7.37, 65.89)
CIE-LCHlch(82.00, 66.30, 96.38°)
OKLaboklab(84.23% -0.0265 0.1475)
OKLCHoklch(84.23% 0.15 100.2)
XYZxyz(54.3675, 60.3017, 14.9053)
Luminance0.6030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD48 #485DE2
analogous
#E28048 #E2CD48 #AAE248
triadic
#E2CD48 #48E2CD #CD48E2
tetradic
#E2CD48 #48E280 #485DE2 #E248AA
square
#E2CD48 #48E280 #485DE2 #E248AA
split-complementary
#E2CD48 #48AAE2 #8048E2
monochromatic
#988618 #CCB520 #E2CD48 #EADB7D #F3EAB2

Accessibility & contrast

On white

1.61
#E2CD48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.06
#E2CD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD48
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD48#FFFFFF#000000##000000
##E2CD481.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C735
Deuteranopia (green-blind)
#E6CF50
Tritanopia (blue-blind)
#F3BFB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cd48;
/* rgb */ color: rgb(226, 205, 72);
/* oklch */ color: oklch(84.2% 0.150 100.2);
Tailwind
colors: {
  custom: {
    50: '#efdb82',
    500: '#e2cd48',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd48;
$custom-light: #efdb82;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd48",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 72
  },
  "hsl": {
    "h": 51.818,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84234,
    "c": 0.14988,
    "h": 100.2
  },
  "luminance": 0.60299
}

Semantic roles & 50–950 ramp

primary
#E2CD48
secondary
#33419C
accent
#51EF38
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2CD48

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

Preview Lab → · Contrast checker → · Palette generator →

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