#ECC262#ECC262

#ECC262 is a very light, vivid orange. Relative luminance 0.573; OKLCH L 83.2% C 0.124 H 85.9°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#ECC262
RGBrgb(236, 194, 98)
HSLhsl(42, 78%, 65%)
HSVhsv(42, 58%, 93%)
CMYKcmyk(0%, 17.8%, 58.5%, 7.5%)
CIE-LABlab(80.35, 4.10, 53.08)
CIE-LCHlch(80.35, 53.24, 85.59°)
OKLaboklab(83.22% 0.009 0.1237)
OKLCHoklch(83.22% 0.124 85.9)
XYZxyz(56.0911, 57.3015, 19.6588)
Luminance0.5730 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC262 #628CEC
analogous
#EC7D62 #ECC262 #D1EC62
triadic
#ECC262 #62ECC2 #C262EC
tetradic
#ECC262 #62EC7D #628CEC #EC62D1
square
#ECC262 #62EC7D #628CEC #EC62D1
split-complementary
#ECC262 #62D1EC #7D62EC
monochromatic
#BD8A17 #E5AD2B #ECC262 #F3D799 #F9ECCF

Accessibility & contrast

On white

1.69
#ECC262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#ECC262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC262
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC262#FFFFFF#000000##000000
##ECC2621.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C159
Deuteranopia (green-blind)
#E0CC66
Tritanopia (blue-blind)
#FEB4AC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ecc262;
/* rgb */ color: rgb(236, 194, 98);
/* oklch */ color: oklch(83.2% 0.124 85.9);
Tailwind
colors: {
  custom: {
    50: '#f5d491',
    500: '#ecc262',
    950: '#000000',
  },
}
SCSS
$custom: #ecc262;
$custom-light: #f5d491;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc262",
  "rgb": {
    "r": 236,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 41.739,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.83216,
    "c": 0.12398,
    "h": 85.9
  },
  "luminance": 0.57298
}

Semantic roles & 50–950 ramp

primary
#ECC262
secondary
#375FBC
accent
#4ADB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #ECC262

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

Preview Lab → · Contrast checker → · Palette generator →

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