#ECC652#ECC652

#ECC652 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.8% C 0.139 H 90.8°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#ECC652
RGBrgb(236, 198, 82)
HSLhsl(45, 80%, 62%)
HSVhsv(45, 65%, 93%)
CMYKcmyk(0%, 16.1%, 65.3%, 7.5%)
CIE-LABlab(81.20, 0.98, 61.24)
CIE-LCHlch(81.20, 61.24, 89.08°)
OKLaboklab(83.84% -0.002 0.139)
OKLCHoklch(83.84% 0.139 90.8)
XYZxyz(56.3120, 58.8334, 16.3709)
Luminance0.5883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC652 #5278EC
analogous
#EC7952 #ECC652 #C5EC52
triadic
#ECC652 #52ECC6 #C652EC
tetradic
#ECC652 #52EC79 #5278EC #EC52C5
square
#ECC652 #52EC79 #5278EC #EC52C5
split-complementary
#ECC652 #52C5EC #7952EC
monochromatic
#B08A13 #E6B41B #ECC652 #F2D889 #F8EAC0

Accessibility & contrast

On white

1.64
#ECC652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#ECC652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC652
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC652#FFFFFF#000000##000000
##ECC6521.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC344
Deuteranopia (green-blind)
#E4CE57
Tritanopia (blue-blind)
#FEB7AD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ecc652;
/* rgb */ color: rgb(236, 198, 82);
/* oklch */ color: oklch(83.8% 0.139 90.8);
Tailwind
colors: {
  custom: {
    50: '#f6d788',
    500: '#ecc652',
    950: '#000000',
  },
}
SCSS
$custom: #ecc652;
$custom-light: #f6d788;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc652",
  "rgb": {
    "r": 236,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 45.195,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.83838,
    "c": 0.13897,
    "h": 90.8
  },
  "luminance": 0.5883
}

Semantic roles & 50–950 ramp

primary
#ECC652
secondary
#3251B1
accent
#3DDD09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECC652

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

Preview Lab → · Contrast checker → · Palette generator →

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