#E0CE52#E0CE52

#E0CE52 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.3% C 0.143 H 101.0°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#E0CE52
RGBrgb(224, 206, 82)
HSLhsl(52, 70%, 60%)
HSVhsv(52, 63%, 88%)
CMYKcmyk(0%, 8%, 63.4%, 12.2%)
CIE-LABlab(82.16, -8.15, 61.94)
CIE-LCHlch(82.16, 62.48, 97.49°)
OKLaboklab(84.35% -0.0275 0.1408)
OKLCHoklch(84.35% 0.143 101)
XYZxyz(54.3370, 60.6014, 16.8161)
Luminance0.6060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CE52 #5264E0
analogous
#E08752 #E0CE52 #ABE052
triadic
#E0CE52 #52E0CE #CE52E0
tetradic
#E0CE52 #52E087 #5264E0 #E052AB
square
#E0CE52 #52E087 #5264E0 #E052AB
split-complementary
#E0CE52 #52ABE0 #8752E0
monochromatic
#9C8B1C #D0BA25 #E0CE52 #E9DD86 #F3EBBA

Accessibility & contrast

On white

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

On black

13.12
#E0CE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CE52
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CE52#FFFFFF#000000##000000
##E0CE521.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C843
Deuteranopia (green-blind)
#E5D059
Tritanopia (blue-blind)
#F0C0B4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e0ce52;
/* rgb */ color: rgb(224, 206, 82);
/* oklch */ color: oklch(84.3% 0.143 101.0);
Tailwind
colors: {
  custom: {
    50: '#eddc88',
    500: '#e0ce52',
    950: '#000000',
  },
}
SCSS
$custom: #e0ce52;
$custom-light: #eddc88;
$custom-dark: #000000;
JSON
{
  "hex": "#e0ce52",
  "rgb": {
    "r": 224,
    "g": 206,
    "b": 82
  },
  "hsl": {
    "h": 52.394,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.84346,
    "c": 0.14345,
    "h": 101
  },
  "luminance": 0.60599
}

Semantic roles & 50–950 ramp

primary
#E0CE52
secondary
#37449F
accent
#52EC3B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E0CE52

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

Preview Lab → · Contrast checker → · Palette generator →

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