#ECC151#ECC151

#ECC151 is a very light, vivid orange. Relative luminance 0.566; OKLCH L 82.8% C 0.137 H 87.8°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#ECC151
RGBrgb(236, 193, 81)
HSLhsl(43, 80%, 62%)
HSVhsv(43, 66%, 93%)
CMYKcmyk(0%, 18.2%, 65.7%, 7.5%)
CIE-LABlab(79.94, 3.51, 60.32)
CIE-LCHlch(79.94, 60.42, 86.67°)
OKLaboklab(82.84% 0.0052 0.1369)
OKLCHoklch(82.84% 0.137 87.8)
XYZxyz(55.1502, 56.5702, 15.7973)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC151 #517CEC
analogous
#EC7451 #ECC151 #C9EC51
triadic
#ECC151 #51ECC1 #C151EC
tetradic
#ECC151 #51EC74 #517CEC #EC51C9
square
#ECC151 #51EC74 #517CEC #EC51C9
split-complementary
#ECC151 #51C9EC #7451EC
monochromatic
#AF8413 #E6AD1A #ECC151 #F2D588 #F8E8BF

Accessibility & contrast

On white

1.71
#ECC151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#ECC151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC151
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC151#FFFFFF#000000##000000
##ECC1511.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF44
Deuteranopia (green-blind)
#E0CB56
Tritanopia (blue-blind)
#FFB2A9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ecc151;
/* rgb */ color: rgb(236, 193, 81);
/* oklch */ color: oklch(82.8% 0.137 87.8);
Tailwind
colors: {
  custom: {
    50: '#f6d387',
    500: '#ecc151',
    950: '#000000',
  },
}
SCSS
$custom: #ecc151;
$custom-light: #f6d387;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc151",
  "rgb": {
    "r": 236,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 43.355,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.8284,
    "c": 0.13695,
    "h": 87.8
  },
  "luminance": 0.56567
}

Semantic roles & 50–950 ramp

primary
#ECC151
secondary
#3154B0
accent
#44DD09
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECC151

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

Preview Lab → · Contrast checker → · Palette generator →

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