#E0CE54#E0CE54

#E0CE54 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.4% C 0.142 H 100.9°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#E0CE54
RGBrgb(224, 206, 84)
HSLhsl(52, 69%, 60%)
HSVhsv(52, 63%, 88%)
CMYKcmyk(0%, 8%, 62.5%, 12.2%)
CIE-LABlab(82.18, -8.02, 61.11)
CIE-LCHlch(82.18, 61.64, 97.48°)
OKLaboklab(84.36% -0.0269 0.1393)
OKLCHoklch(84.36% 0.142 100.9)
XYZxyz(54.4142, 60.6323, 17.2227)
Luminance0.6063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CE54 #5466E0
analogous
#E08854 #E0CE54 #ACE054
triadic
#E0CE54 #54E0CE #CE54E0
tetradic
#E0CE54 #54E088 #5466E0 #E054AC
square
#E0CE54 #54E088 #5466E0 #E054AC
split-complementary
#E0CE54 #54ACE0 #8854E0
monochromatic
#9D8D1C #D1BB26 #E0CE54 #E9DD88 #F3ECBC

Accessibility & contrast

On white

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

On black

13.13
#E0CE54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CE54
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CE54#FFFFFF#000000##000000
##E0CE541.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e0ce54;
/* rgb */ color: rgb(224, 206, 84);
/* oklch */ color: oklch(84.4% 0.142 100.9);
Tailwind
colors: {
  custom: {
    50: '#eddc89',
    500: '#e0ce54',
    950: '#000000',
  },
}
SCSS
$custom: #e0ce54;
$custom-light: #eddc89;
$custom-dark: #000000;
JSON
{
  "hex": "#e0ce54",
  "rgb": {
    "r": 224,
    "g": 206,
    "b": 84
  },
  "hsl": {
    "h": 52.286,
    "s": 69.307,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84364,
    "c": 0.1419,
    "h": 100.9
  },
  "luminance": 0.6063
}

Semantic roles & 50–950 ramp

primary
#E0CE54
secondary
#3845A1
accent
#2DD114
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E0CE54

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

Preview Lab → · Contrast checker → · Palette generator →

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