#ECB158#ECB158

#ECB158 is a light, vivid orange. Relative luminance 0.500; OKLCH L 79.8% C 0.126 H 75.4°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#ECB158
RGBrgb(236, 177, 88)
HSLhsl(36, 80%, 64%)
HSVhsv(36, 63%, 93%)
CMYKcmyk(0%, 25%, 62.7%, 7.5%)
CIE-LABlab(76.06, 12.33, 52.89)
CIE-LCHlch(76.06, 54.31, 76.87°)
OKLaboklab(79.82% 0.0318 0.122)
OKLCHoklch(79.82% 0.126 75.4)
XYZxyz(52.0787, 49.9855, 16.1359)
Luminance0.4998 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECB158 #5893EC
analogous
#EC6758 #ECB158 #DDEC58
triadic
#ECB158 #58ECB1 #B158EC
tetradic
#ECB158 #58EC67 #5893EC #EC58DD
square
#ECB158 #58EC67 #5893EC #EC58DD
split-complementary
#ECB158 #58DDEC #6758EC
monochromatic
#B57515 #E69721 #ECB158 #F2CB8F #F9E4C6

Accessibility & contrast

On white

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

On black

11.00
#ECB158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECB158
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECB158#FFFFFF#000000##000000
##ECB1581.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34F
Deuteranopia (green-blind)
#D5C15B
Tritanopia (blue-blind)
#FFA19D
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ecb158;
/* rgb */ color: rgb(236, 177, 88);
/* oklch */ color: oklch(79.8% 0.126 75.4);
Tailwind
colors: {
  custom: {
    50: '#f6c88a',
    500: '#ecb158',
    950: '#000000',
  },
}
SCSS
$custom: #ecb158;
$custom-light: #f6c88a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecb158",
  "rgb": {
    "r": 236,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 36.081,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.79818,
    "c": 0.12608,
    "h": 75.4
  },
  "luminance": 0.49982
}

Semantic roles & 50–950 ramp

primary
#ECB158
secondary
#B6CBEA
accent
#5DDC0A
background
#FFFCF8
surface
#FFF8F0
border
#D7D1CB
text
#18130C
muted
#86827D

Preview Lab

Preview with #ECB158

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

Preview Lab → · Contrast checker → · Palette generator →

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