#B9802A#B9802A

#B9802A is a light, vivid orange. Relative luminance 0.259; OKLCH L 64.3% C 0.121 H 73.0°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B9802A
RGBrgb(185, 128, 42)
HSLhsl(36, 63%, 45%)
HSVhsv(36, 77%, 73%)
CMYKcmyk(0%, 30.8%, 77.3%, 27.5%)
CIE-LABlab(57.96, 14.47, 52.66)
CIE-LCHlch(57.96, 54.61, 74.64°)
OKLaboklab(64.29% 0.0353 0.1153)
OKLCHoklch(64.29% 0.121 73)
XYZxyz(28.1467, 25.9222, 5.7111)
Luminance0.2592 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9802A #2A63B9
analogous
#B9392A #B9802A #ABB92A
triadic
#B9802A #2AB980 #802AB9
tetradic
#B9802A #2AB939 #2A63B9 #B92AAB
square
#B9802A #2AB939 #2A63B9 #B92AAB
split-complementary
#B9802A #2AABB9 #392AB9
monochromatic
#553B13 #875D1F #B9802A #D69E4A #E1B97C

Accessibility & contrast

On white

3.40
#B9802A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#B9802A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B9802A
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9802A#FFFFFF#000000##000000
##B9802A1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831D
Deuteranopia (green-blind)
#A1912D
Tritanopia (blue-blind)
#CA716F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b9802a;
/* rgb */ color: rgb(185, 128, 42);
/* oklch */ color: oklch(64.3% 0.121 73.0);
Tailwind
colors: {
  custom: {
    50: '#d3a46a',
    500: '#b9802a',
    950: '#000000',
  },
}
SCSS
$custom: #b9802a;
$custom-light: #d3a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9802a",
  "rgb": {
    "r": 185,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 36.084,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.64292,
    "c": 0.12062,
    "h": 73
  },
  "luminance": 0.2592
}

Semantic roles & 50–950 ramp

primary
#B9802A
secondary
#7597CA
accent
#83E642
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#150F07
muted
#837F7A

Preview Lab

Preview with #B9802A

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

Preview Lab → · Contrast checker → · Palette generator →

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