#B9902F#B9902F

#B9902F is a light, vivid orange. Relative luminance 0.305; OKLCH L 67.5% C 0.121 H 84.8°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#B9902F
RGBrgb(185, 144, 47)
HSLhsl(42, 59%, 45%)
HSVhsv(42, 75%, 73%)
CMYKcmyk(0%, 22.2%, 74.6%, 27.5%)
CIE-LABlab(62.06, 5.85, 54.60)
CIE-LCHlch(62.06, 54.91, 83.89°)
OKLaboklab(67.51% 0.0109 0.1206)
OKLCHoklch(67.51% 0.121 84.8)
XYZxyz(30.4958, 30.4682, 6.9635)
Luminance0.3047 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9902F #2F58B9
analogous
#B94B2F #B9902F #9DB92F
triadic
#B9902F #2FB990 #902FB9
tetradic
#B9902F #2FB94B #2F58B9 #B92F9D
square
#B9902F #2FB94B #2F58B9 #B92F9D
split-complementary
#B9902F #2F9DB9 #4B2FB9
monochromatic
#574416 #886A23 #B9902F #D3AD52 #DFC483

Accessibility & contrast

On white

2.96
#B9902F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#B9902F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9902F
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9902F#FFFFFF#000000##000000
##B9902F1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29020
Deuteranopia (green-blind)
#AC9A34
Tritanopia (blue-blind)
#C9837D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b9902f;
/* rgb */ color: rgb(185, 144, 47);
/* oklch */ color: oklch(67.5% 0.121 84.8);
Tailwind
colors: {
  custom: {
    50: '#d2b06e',
    500: '#b9902f',
    950: '#000000',
  },
}
SCSS
$custom: #b9902f;
$custom-light: #d2b06e;
$custom-dark: #000000;
JSON
{
  "hex": "#b9902f",
  "rgb": {
    "r": 185,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 42.174,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.67507,
    "c": 0.12105,
    "h": 84.8
  },
  "luminance": 0.30466
}

Semantic roles & 50–950 ramp

primary
#B9902F
secondary
#7B92C9
accent
#74E345
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151007
muted
#837F7A

Preview Lab

Preview with #B9902F

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

Preview Lab → · Contrast checker → · Palette generator →

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