#ECB22A#ECB22A

#ECB22A is a light, vivid orange. Relative luminance 0.498; OKLCH L 79.6% C 0.153 H 83.0°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#ECB22A
RGBrgb(236, 178, 42)
HSLhsl(42, 84%, 55%)
HSVhsv(42, 82%, 93%)
CMYKcmyk(0%, 24.6%, 82.2%, 7.5%)
CIE-LABlab(75.97, 9.69, 71.04)
CIE-LCHlch(75.97, 71.70, 82.24°)
OKLaboklab(79.64% 0.0187 0.1522)
OKLCHoklch(79.64% 0.153 83)
XYZxyz(50.9339, 49.8448, 9.1284)
Luminance0.4984 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECB22A #2A64EC
analogous
#EC512A #ECB22A #C5EC2A
triadic
#ECB22A #2AECB2 #B22AEC
tetradic
#ECB22A #2AEC51 #2A64EC #EC2AC5
square
#ECB22A #2AEC51 #2A64EC #EC2AC5
split-complementary
#ECB22A #2AC5EC #512AEC
monochromatic
#8F680D #C79112 #ECB22A #F1C662 #F6DB9A

Accessibility & contrast

On white

1.91
#ECB22A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#ECB22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECB22A
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECB22A#FFFFFF#000000##000000
##ECB22A1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB300
Deuteranopia (green-blind)
#D8C132
Tritanopia (blue-blind)
#FFA099
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ecb22a;
/* rgb */ color: rgb(236, 178, 42);
/* oklch */ color: oklch(79.6% 0.153 83.0);
Tailwind
colors: {
  custom: {
    50: '#f8c871',
    500: '#ecb22a',
    950: '#000000',
  },
}
SCSS
$custom: #ecb22a;
$custom-light: #f8c871;
$custom-dark: #000000;
JSON
{
  "hex": "#ecb22a",
  "rgb": {
    "r": 236,
    "g": 178,
    "b": 42
  },
  "hsl": {
    "h": 42.062,
    "s": 83.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.79644,
    "c": 0.15334,
    "h": 83
  },
  "luminance": 0.49841
}

Semantic roles & 50–950 ramp

primary
#ECB22A
secondary
#90A8E2
accent
#6BFA2E
background
#FFFCF7
surface
#FFF8ED
border
#D7D1C8
text
#181308
muted
#86827B

Preview Lab

Preview with #ECB22A

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

Preview Lab → · Contrast checker → · Palette generator →

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