#ECD752#ECD752

#ECD752 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.3% C 0.151 H 100.3°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#ECD752
RGBrgb(236, 215, 82)
HSLhsl(52, 80%, 62%)
HSVhsv(52, 65%, 93%)
CMYKcmyk(0%, 8.9%, 65.3%, 7.5%)
CIE-LABlab(85.53, -7.70, 65.81)
CIE-LCHlch(85.53, 66.26, 96.68°)
OKLaboklab(87.26% -0.0269 0.1487)
OKLCHoklch(87.26% 0.151 100.3)
XYZxyz(60.4181, 67.0456, 17.7396)
Luminance0.6704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD752 #5267EC
analogous
#EC8A52 #ECD752 #B4EC52
triadic
#ECD752 #52ECD7 #D752EC
tetradic
#ECD752 #52EC8A #5267EC #EC52B4
square
#ECD752 #52EC8A #5267EC #EC52B4
split-complementary
#ECD752 #52B4EC #8A52EC
monochromatic
#B09B13 #E6CA1B #ECD752 #F2E489 #F8F0C0

Accessibility & contrast

On white

1.46
#ECD752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#ECD752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD752
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD752#FFFFFF#000000##000000
##ECD7521.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD141
Deuteranopia (green-blind)
#F0D959
Tritanopia (blue-blind)
#FDC8BB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ecd752;
/* rgb */ color: rgb(236, 215, 82);
/* oklch */ color: oklch(87.3% 0.151 100.3);
Tailwind
colors: {
  custom: {
    50: '#f6e389',
    500: '#ecd752',
    950: '#000000',
  },
}
SCSS
$custom: #ecd752;
$custom-light: #f6e389;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd752",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 51.818,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.87261,
    "c": 0.15107,
    "h": 100.3
  },
  "luminance": 0.67043
}

Semantic roles & 50–950 ramp

primary
#ECD752
secondary
#3243B1
accent
#26DD09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD752

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

Preview Lab → · Contrast checker → · Palette generator →

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