#E2CE48#E2CE48

#E2CE48 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.4% C 0.151 H 100.7°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#E2CE48
RGBrgb(226, 206, 72)
HSLhsl(52, 73%, 58%)
HSVhsv(52, 68%, 89%)
CMYKcmyk(0%, 8.8%, 68.1%, 11.4%)
CIE-LABlab(82.26, -7.88, 66.16)
CIE-LCHlch(82.26, 66.62, 96.79°)
OKLaboklab(84.44% -0.0279 0.1481)
OKLCHoklch(84.44% 0.151 100.7)
XYZxyz(54.6074, 60.7817, 14.9853)
Luminance0.6078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CE48 #485CE2
analogous
#E28148 #E2CE48 #A9E248
triadic
#E2CE48 #48E2CE #CE48E2
tetradic
#E2CE48 #48E281 #485CE2 #E248A9
square
#E2CE48 #48E281 #485CE2 #E248A9
split-complementary
#E2CE48 #48A9E2 #8148E2
monochromatic
#988718 #CCB620 #E2CE48 #EADC7D #F3EAB2

Accessibility & contrast

On white

1.60
#E2CE48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#E2CE48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CE48
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CE48#FFFFFF#000000##000000
##E2CE481.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C835
Deuteranopia (green-blind)
#E7D050
Tritanopia (blue-blind)
#F3C0B3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e2ce48;
/* rgb */ color: rgb(226, 206, 72);
/* oklch */ color: oklch(84.4% 0.151 100.7);
Tailwind
colors: {
  custom: {
    50: '#efdc82',
    500: '#e2ce48',
    950: '#000000',
  },
}
SCSS
$custom: #e2ce48;
$custom-light: #efdc82;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ce48",
  "rgb": {
    "r": 226,
    "g": 206,
    "b": 72
  },
  "hsl": {
    "h": 52.208,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8444,
    "c": 0.15069,
    "h": 100.7
  },
  "luminance": 0.60779
}

Semantic roles & 50–950 ramp

primary
#E2CE48
secondary
#33409C
accent
#50EF38
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2CE48

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

Preview Lab → · Contrast checker → · Palette generator →

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