#ECC754#ECC754

#ECC754 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 84.1% C 0.138 H 91.2°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#ECC754
RGBrgb(236, 199, 84)
HSLhsl(45, 80%, 63%)
HSVhsv(45, 64%, 93%)
CMYKcmyk(0%, 15.7%, 64.4%, 7.5%)
CIE-LABlab(81.47, 0.58, 60.66)
CIE-LCHlch(81.47, 60.67, 89.45°)
OKLaboklab(84.06% -0.0029 0.1381)
OKLCHoklch(84.06% 0.138 91.2)
XYZxyz(56.6185, 59.3230, 16.8541)
Luminance0.5932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC754 #5479EC
analogous
#EC7B54 #ECC754 #C5EC54
triadic
#ECC754 #54ECC7 #C754EC
tetradic
#ECC754 #54EC7B #5479EC #EC54C5
square
#ECC754 #54EC7B #5479EC #EC54C5
split-complementary
#ECC754 #54C5EC #7B54EC
monochromatic
#B28B14 #E6B51D #ECC754 #F2D98B #F8EBC2

Accessibility & contrast

On white

1.63
#ECC754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#ECC754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC754
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC754#FFFFFF#000000##000000
##ECC7541.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC447
Deuteranopia (green-blind)
#E4CF59
Tritanopia (blue-blind)
#FEB8AE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ecc754;
/* rgb */ color: rgb(236, 199, 84);
/* oklch */ color: oklch(84.1% 0.138 91.2);
Tailwind
colors: {
  custom: {
    50: '#f6d789',
    500: '#ecc754',
    950: '#000000',
  },
}
SCSS
$custom: #ecc754;
$custom-light: #f6d789;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc754",
  "rgb": {
    "r": 236,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 45.395,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.84055,
    "c": 0.13808,
    "h": 91.2
  },
  "luminance": 0.5932
}

Semantic roles & 50–950 ramp

primary
#ECC754
secondary
#3251B2
accent
#3DDC09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECC754

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

Preview Lab → · Contrast checker → · Palette generator →

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