#E2CE52#E2CE52

#E2CE52 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.5% C 0.143 H 100.1°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#E2CE52
RGBrgb(226, 206, 82)
HSLhsl(52, 71%, 60%)
HSVhsv(52, 64%, 89%)
CMYKcmyk(0%, 8.8%, 63.7%, 11.4%)
CIE-LABlab(82.34, -7.31, 62.18)
CIE-LCHlch(82.34, 62.61, 96.71°)
OKLaboklab(84.53% -0.0252 0.1412)
OKLCHoklch(84.53% 0.143 100.1)
XYZxyz(54.9606, 60.9229, 16.8453)
Luminance0.6092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CE52 #5266E2
analogous
#E28652 #E2CE52 #AEE252
triadic
#E2CE52 #52E2CE #CE52E2
tetradic
#E2CE52 #52E286 #5266E2 #E252AE
square
#E2CE52 #52E286 #5266E2 #E252AE
split-complementary
#E2CE52 #52AEE2 #8652E2
monochromatic
#9F8D1B #D3BB23 #E2CE52 #EBDD86 #F4ECBB

Accessibility & contrast

On white

1.59
#E2CE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.18
#E2CE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CE52
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CE52#FFFFFF#000000##000000
##E2CE521.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C843
Deuteranopia (green-blind)
#E6D059
Tritanopia (blue-blind)
#F3C0B4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e2ce52;
/* rgb */ color: rgb(226, 206, 82);
/* oklch */ color: oklch(84.5% 0.143 100.1);
Tailwind
colors: {
  custom: {
    50: '#eedc88',
    500: '#e2ce52',
    950: '#000000',
  },
}
SCSS
$custom: #e2ce52;
$custom-light: #eedc88;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ce52",
  "rgb": {
    "r": 226,
    "g": 206,
    "b": 82
  },
  "hsl": {
    "h": 51.667,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84525,
    "c": 0.14348,
    "h": 100.1
  },
  "luminance": 0.60921
}

Semantic roles & 50–950 ramp

primary
#E2CE52
secondary
#3645A2
accent
#2DD312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CE52

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

Preview Lab → · Contrast checker → · Palette generator →

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