#ECC268#ECC268

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

Color values

HEX#ECC268
RGBrgb(236, 194, 104)
HSLhsl(41, 78%, 67%)
HSVhsv(41, 56%, 93%)
CMYKcmyk(0%, 17.8%, 55.9%, 7.5%)
CIE-LABlab(80.41, 4.54, 50.30)
CIE-LCHlch(80.41, 50.51, 84.84°)
OKLaboklab(83.29% 0.011 0.1183)
OKLCHoklch(83.29% 0.119 84.7)
XYZxyz(56.3851, 57.4191, 21.2071)
Luminance0.5742 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC268 #6892EC
analogous
#EC8068 #ECC268 #D4EC68
triadic
#ECC268 #68ECC2 #C268EC
tetradic
#ECC268 #68EC80 #6892EC #EC68D4
square
#ECC268 #68EC80 #6892EC #EC68D4
split-complementary
#ECC268 #68D4EC #8068EC
monochromatic
#C18C18 #E5AC32 #ECC268 #F3D89E #FAEED5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECC268#FFFFFF#000000##000000
##ECC2681.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)
#D5C160
Deuteranopia (green-blind)
#DFCC6B
Tritanopia (blue-blind)
#FEB4AD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ecc268;
/* rgb */ color: rgb(236, 194, 104);
/* oklch */ color: oklch(83.3% 0.119 84.7);
Tailwind
colors: {
  custom: {
    50: '#f5d495',
    500: '#ecc268',
    950: '#000000',
  },
}
SCSS
$custom: #ecc268;
$custom-light: #f5d495;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc268",
  "rgb": {
    "r": 236,
    "g": 194,
    "b": 104
  },
  "hsl": {
    "h": 40.909,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.83289,
    "c": 0.11879,
    "h": 84.7
  },
  "luminance": 0.57416
}

Semantic roles & 50–950 ramp

primary
#ECC268
secondary
#3964C0
accent
#4DDA0C
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #ECC268

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

Preview Lab → · Contrast checker → · Palette generator →

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