#ECC54A#ECC54A

#ECC54A is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.6% C 0.144 H 91.1°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#ECC54A
RGBrgb(236, 197, 74)
HSLhsl(46, 81%, 61%)
HSVhsv(46, 69%, 93%)
CMYKcmyk(0%, 16.5%, 68.6%, 7.5%)
CIE-LABlab(80.88, 1.05, 64.25)
CIE-LCHlch(80.88, 64.26, 89.06°)
OKLaboklab(83.57% -0.0027 0.144)
OKLCHoklch(83.57% 0.144 91.1)
XYZxyz(55.7973, 58.2631, 14.7842)
Luminance0.5826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC54A #4A71EC
analogous
#EC744A #ECC54A #C2EC4A
triadic
#ECC54A #4AECC5 #C54AEC
tetradic
#ECC54A #4AEC74 #4A71EC #EC4AC2
square
#ECC54A #4AEC74 #4A71EC #EC4AC2
split-complementary
#ECC54A #4AC2EC #744AEC
monochromatic
#AA8512 #E1B118 #ECC54A #F2D781 #F8E8B9

Accessibility & contrast

On white

1.66
#ECC54A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#ECC54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC54A
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC54A#FFFFFF#000000##000000
##ECC54A1.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC23A
Deuteranopia (green-blind)
#E4CD50
Tritanopia (blue-blind)
#FFB5AC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ecc54a;
/* rgb */ color: rgb(236, 197, 74);
/* oklch */ color: oklch(83.6% 0.144 91.1);
Tailwind
colors: {
  custom: {
    50: '#f6d683',
    500: '#ecc54a',
    950: '#000000',
  },
}
SCSS
$custom: #ecc54a;
$custom-light: #f6d683;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc54a",
  "rgb": {
    "r": 236,
    "g": 197,
    "b": 74
  },
  "hsl": {
    "h": 45.556,
    "s": 81,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83569,
    "c": 0.14407,
    "h": 91.1
  },
  "luminance": 0.5826
}

Semantic roles & 50–950 ramp

primary
#ECC54A
secondary
#2F4DAB
accent
#3BDD08
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #ECC54A

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

Preview Lab → · Contrast checker → · Palette generator →

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