#ECC266#ECC266

#ECC266 is a very light, vivid orange. Relative luminance 0.574; OKLCH L 83.3% C 0.121 H 85.1°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#ECC266
RGBrgb(236, 194, 102)
HSLhsl(41, 78%, 66%)
HSVhsv(41, 57%, 93%)
CMYKcmyk(0%, 17.8%, 56.8%, 7.5%)
CIE-LABlab(80.39, 4.39, 51.23)
CIE-LCHlch(80.39, 51.42, 85.10°)
OKLaboklab(83.26% 0.0103 0.1201)
OKLCHoklch(83.26% 0.121 85.1)
XYZxyz(56.2847, 57.3790, 20.6784)
Luminance0.5738 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC266 #6690EC
analogous
#EC7F66 #ECC266 #D3EC66
triadic
#ECC266 #66ECC2 #C266EC
tetradic
#ECC266 #66EC7F #6690EC #EC66D3
square
#ECC266 #66EC7F #6690EC #EC66D3
split-complementary
#ECC266 #66D3EC #7F66EC
monochromatic
#C08B18 #E5AC30 #ECC266 #F3D89C #FAEDD3

Accessibility & contrast

On white

1.68
#ECC266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#ECC266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC266
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC266#FFFFFF#000000##000000
##ECC2661.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C15D
Deuteranopia (green-blind)
#E0CC69
Tritanopia (blue-blind)
#FEB4AD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ecc266;
/* rgb */ color: rgb(236, 194, 102);
/* oklch */ color: oklch(83.3% 0.121 85.1);
Tailwind
colors: {
  custom: {
    50: '#f5d494',
    500: '#ecc266',
    950: '#000000',
  },
}
SCSS
$custom: #ecc266;
$custom-light: #f5d494;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc266",
  "rgb": {
    "r": 236,
    "g": 194,
    "b": 102
  },
  "hsl": {
    "h": 41.194,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.83264,
    "c": 0.12054,
    "h": 85.1
  },
  "luminance": 0.57376
}

Semantic roles & 50–950 ramp

primary
#ECC266
secondary
#3862BE
accent
#4CDA0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #ECC266

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

Preview Lab → · Contrast checker → · Palette generator →

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