#ECB262#ECB262

#ECB262 is a light, moderate orange. Relative luminance 0.506; OKLCH L 80.1% C 0.119 H 73.5°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#ECB262
RGBrgb(236, 178, 98)
HSLhsl(35, 78%, 65%)
HSVhsv(35, 58%, 93%)
CMYKcmyk(0%, 24.6%, 58.5%, 7.5%)
CIE-LABlab(76.41, 12.49, 48.49)
CIE-LCHlch(76.41, 50.07, 75.55°)
OKLaboklab(80.13% 0.0336 0.1137)
OKLCHoklch(80.13% 0.119 73.5)
XYZxyz(52.7200, 50.5592, 18.5351)
Luminance0.5056 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECB262 #629CEC
analogous
#EC6D62 #ECB262 #E1EC62
triadic
#ECB262 #62ECB2 #B262EC
tetradic
#ECB262 #62EC6D #629CEC #EC62E1
square
#ECB262 #62EC6D #629CEC #EC62E1
split-complementary
#ECB262 #62E1EC #6D62EC
monochromatic
#BD7717 #E5972B #ECB262 #F3CD99 #F9E8CF

Accessibility & contrast

On white

1.89
#ECB262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#ECB262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECB262
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECB262#FFFFFF#000000##000000
##ECB2621.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B45B
Deuteranopia (green-blind)
#D5C264
Tritanopia (blue-blind)
#FFA39F
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ecb262;
/* rgb */ color: rgb(236, 178, 98);
/* oklch */ color: oklch(80.1% 0.119 73.5);
Tailwind
colors: {
  custom: {
    50: '#f6c891',
    500: '#ecb262',
    950: '#000000',
  },
}
SCSS
$custom: #ecb262;
$custom-light: #f6c891;
$custom-dark: #000000;
JSON
{
  "hex": "#ecb262",
  "rgb": {
    "r": 236,
    "g": 178,
    "b": 98
  },
  "hsl": {
    "h": 34.783,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.80127,
    "c": 0.11856,
    "h": 73.5
  },
  "luminance": 0.50555
}

Semantic roles & 50–950 ramp

primary
#ECB262
secondary
#376FBC
accent
#62DB0B
background
#FFFDFC
surface
#FFF9F4
border
#D7D2CE
text
#18130D
muted
#86827F

Preview Lab

Preview with #ECB262

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

Preview Lab → · Contrast checker → · Palette generator →

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