#9E802B#9E802B

#9E802B is a mid, moderate orange. Relative luminance 0.229; OKLCH L 61.3% C 0.107 H 88.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9E802B
RGBrgb(158, 128, 43)
HSLhsl(44, 57%, 39%)
HSVhsv(44, 73%, 62%)
CMYKcmyk(0%, 19%, 72.8%, 38%)
CIE-LABlab(54.95, 2.36, 48.27)
CIE-LCHlch(54.95, 48.32, 87.20°)
OKLaboklab(61.26% 0.0021 0.1075)
OKLCHoklch(61.26% 0.107 88.9)
XYZxyz(22.2570, 22.8833, 5.5296)
Luminance0.2288 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E802B #2B499E
analogous
#9E472B #9E802B #839E2B
triadic
#9E802B #2B9E80 #802B9E
tetradic
#9E802B #2B9E47 #2B499E #9E2B83
square
#9E802B #2B9E47 #2B499E #9E2B83
split-complementary
#9E802B #2B839E #472B9E
monochromatic
#3E3211 #6E591E #9E802B #CAA53C #D7BB6C

Accessibility & contrast

On white

3.77
#9E802B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#9E802B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E802B
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E802B#FFFFFF#000000##000000
##9E802B1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1F
Deuteranopia (green-blind)
#96872F
Tritanopia (blue-blind)
#AB756F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9e802b;
/* rgb */ color: rgb(158, 128, 43);
/* oklch */ color: oklch(61.3% 0.107 88.9);
Tailwind
colors: {
  custom: {
    50: '#bea46a',
    500: '#9e802b',
    950: '#000000',
  },
}
SCSS
$custom: #9e802b;
$custom-light: #bea46a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e802b",
  "rgb": {
    "r": 158,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 44.348,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61257,
    "c": 0.10749,
    "h": 88.9
  },
  "luminance": 0.22882
}

Semantic roles & 50–950 ramp

primary
#9E802B
secondary
#677EBE
accent
#6FE047
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9E802B

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

Preview Lab → · Contrast checker → · Palette generator →

#9E802B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva