#ECCA52#ECCA52

#ECCA52 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.6% C 0.141 H 93.2°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#ECCA52
RGBrgb(236, 202, 82)
HSLhsl(47, 80%, 62%)
HSVhsv(47, 65%, 93%)
CMYKcmyk(0%, 14.4%, 65.3%, 7.5%)
CIE-LABlab(82.21, -1.08, 62.31)
CIE-LCHlch(82.21, 62.32, 91.00°)
OKLaboklab(84.64% -0.008 0.1412)
OKLCHoklch(84.64% 0.141 93.2)
XYZxyz(57.2384, 60.6862, 16.6797)
Luminance0.6068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCA52 #5274EC
analogous
#EC7D52 #ECCA52 #C1EC52
triadic
#ECCA52 #52ECCA #CA52EC
tetradic
#ECCA52 #52EC7D #5274EC #EC52C1
square
#ECCA52 #52EC7D #5274EC #EC52C1
split-complementary
#ECCA52 #52C1EC #7D52EC
monochromatic
#B08E13 #E6B91B #ECCA52 #F2DB89 #F8ECC0

Accessibility & contrast

On white

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

On black

13.14
#ECCA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCA52
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCA52#FFFFFF#000000##000000
##ECCA521.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC744
Deuteranopia (green-blind)
#E7D158
Tritanopia (blue-blind)
#FEBBB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ecca52;
/* rgb */ color: rgb(236, 202, 82);
/* oklch */ color: oklch(84.6% 0.141 93.2);
Tailwind
colors: {
  custom: {
    50: '#f6d988',
    500: '#ecca52',
    950: '#000000',
  },
}
SCSS
$custom: #ecca52;
$custom-light: #f6d988;
$custom-dark: #000000;
JSON
{
  "hex": "#ecca52",
  "rgb": {
    "r": 236,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 46.753,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84635,
    "c": 0.14146,
    "h": 93.2
  },
  "luminance": 0.60683
}

Semantic roles & 50–950 ramp

primary
#ECCA52
secondary
#324EB1
accent
#38DD09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECCA52

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

Preview Lab → · Contrast checker → · Palette generator →

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