#9A731B#9A731B

#9A731B is a mid, moderate orange. Relative luminance 0.192; OKLCH L 58.0% C 0.110 H 82.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9A731B
RGBrgb(154, 115, 27)
HSLhsl(42, 70%, 35%)
HSVhsv(42, 82%, 60%)
CMYKcmyk(0%, 25.3%, 82.5%, 39.6%)
CIE-LABlab(50.93, 7.17, 50.57)
CIE-LCHlch(50.93, 51.07, 81.93°)
OKLaboklab(57.97% 0.0143 0.1091)
OKLCHoklch(57.97% 0.11 82.5)
XYZxyz(19.6563, 19.2121, 3.7097)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A731B #1B429A
analogous
#9A331B #9A731B #819A1B
triadic
#9A731B #1B9A73 #731B9A
tetradic
#9A731B #1B9A33 #1B429A #9A1B81
square
#9A731B #1B9A33 #1B429A #9A1B81
split-complementary
#9A731B #1B819A #331B9A
monochromatic
#322509 #664C12 #9A731B #CE9A24 #E0B44F

Accessibility & contrast

On white

4.34
#9A731B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#9A731B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A731B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A731B#FFFFFF#000000##000000
##9A731B1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#837307
Deuteranopia (green-blind)
#8C7D20
Tritanopia (blue-blind)
#A86762
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9a731b;
/* rgb */ color: rgb(154, 115, 27);
/* oklch */ color: oklch(58.0% 0.110 82.5);
Tailwind
colors: {
  custom: {
    50: '#bc9b60',
    500: '#9a731b',
    950: '#000000',
  },
}
SCSS
$custom: #9a731b;
$custom-light: #bc9b60;
$custom-dark: #000000;
JSON
{
  "hex": "#9a731b",
  "rgb": {
    "r": 154,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 41.575,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57966,
    "c": 0.11002,
    "h": 82.5
  },
  "luminance": 0.19211
}

Semantic roles & 50–950 ramp

primary
#9A731B
secondary
#4E72C3
accent
#72ED3B
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9A731B

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

Preview Lab → · Contrast checker → · Palette generator →

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