#B9802F#B9802F

#B9802F is a light, moderate orange. Relative luminance 0.260; OKLCH L 64.3% C 0.118 H 71.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B9802F
RGBrgb(185, 128, 47)
HSLhsl(35, 59%, 45%)
HSVhsv(35, 75%, 73%)
CMYKcmyk(0%, 30.8%, 74.6%, 27.5%)
CIE-LABlab(58.00, 14.69, 50.59)
CIE-LCHlch(58.00, 52.68, 73.81°)
OKLaboklab(64.33% 0.0366 0.112)
OKLCHoklch(64.33% 0.118 71.9)
XYZxyz(28.2419, 25.9603, 6.2122)
Luminance0.2596 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9802F #2F68B9
analogous
#B93B2F #B9802F #ADB92F
triadic
#B9802F #2FB980 #802FB9
tetradic
#B9802F #2FB93B #2F68B9 #B92FAD
square
#B9802F #2FB93B #2F68B9 #B92FAD
split-complementary
#B9802F #2FADB9 #3B2FB9
monochromatic
#573C16 #885E23 #B9802F #D39E52 #DFB983

Accessibility & contrast

On white

3.39
#B9802F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#B9802F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B9802F
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9802F#FFFFFF#000000##000000
##B9802F1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948324
Deuteranopia (green-blind)
#A19131
Tritanopia (blue-blind)
#CA726F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b9802f;
/* rgb */ color: rgb(185, 128, 47);
/* oklch */ color: oklch(64.3% 0.118 71.9);
Tailwind
colors: {
  custom: {
    50: '#d3a46d',
    500: '#b9802f',
    950: '#000000',
  },
}
SCSS
$custom: #b9802f;
$custom-light: #d3a46d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9802f",
  "rgb": {
    "r": 185,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 35.217,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.64332,
    "c": 0.11785,
    "h": 71.9
  },
  "luminance": 0.25958
}

Semantic roles & 50–950 ramp

primary
#B9802F
secondary
#7B9BC9
accent
#86E345
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#150F07
muted
#837F7A

Preview Lab

Preview with #B9802F

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

Preview Lab → · Contrast checker → · Palette generator →

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