#ECC45F#ECC45F

#ECC45F is a very light, vivid orange. Relative luminance 0.581; OKLCH L 83.6% C 0.128 H 87.8°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#ECC45F
RGBrgb(236, 196, 95)
HSLhsl(43, 79%, 65%)
HSVhsv(43, 60%, 93%)
CMYKcmyk(0%, 16.9%, 59.7%, 7.5%)
CIE-LABlab(80.82, 2.85, 55.02)
CIE-LCHlch(80.82, 55.09, 87.04°)
OKLaboklab(83.58% 0.005 0.1275)
OKLCHoklch(83.58% 0.128 87.8)
XYZxyz(56.4003, 58.1421, 19.0761)
Luminance0.5814 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC45F #5F87EC
analogous
#EC7E5F #ECC45F #CDEC5F
triadic
#ECC45F #5FECC4 #C45FEC
tetradic
#ECC45F #5FEC7E #5F87EC #EC5FCD
square
#ECC45F #5FEC7E #5F87EC #EC5FCD
split-complementary
#ECC45F #5FCDEC #7E5FEC
monochromatic
#BA8C16 #E6B028 #ECC45F #F2D896 #F9ECCC

Accessibility & contrast

On white

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

On black

12.63
#ECC45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC45F
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC45F#FFFFFF#000000##000000
##ECC45F1.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C255
Deuteranopia (green-blind)
#E2CD63
Tritanopia (blue-blind)
#FEB6AD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ecc45f;
/* rgb */ color: rgb(236, 196, 95);
/* oklch */ color: oklch(83.6% 0.128 87.8);
Tailwind
colors: {
  custom: {
    50: '#f5d590',
    500: '#ecc45f',
    950: '#000000',
  },
}
SCSS
$custom: #ecc45f;
$custom-light: #f5d590;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc45f",
  "rgb": {
    "r": 236,
    "g": 196,
    "b": 95
  },
  "hsl": {
    "h": 42.979,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83575,
    "c": 0.12758,
    "h": 87.8
  },
  "luminance": 0.58139
}

Semantic roles & 50–950 ramp

primary
#ECC45F
secondary
#365BBA
accent
#46DB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #ECC45F

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

Preview Lab → · Contrast checker → · Palette generator →

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