#9A751F#9A751F

#9A751F is a mid, moderate orange. Relative luminance 0.197; OKLCH L 58.4% C 0.109 H 83.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9A751F
RGBrgb(154, 117, 31)
HSLhsl(42, 66%, 36%)
HSVhsv(42, 80%, 60%)
CMYKcmyk(0%, 24%, 79.9%, 39.6%)
CIE-LABlab(51.49, 6.18, 49.61)
CIE-LCHlch(51.49, 50.00, 82.90°)
OKLaboklab(58.41% 0.0119 0.108)
OKLCHoklch(58.41% 0.109 83.7)
XYZxyz(19.9364, 19.6930, 4.0472)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A751F #1F449A
analogous
#9A381F #9A751F #829A1F
triadic
#9A751F #1F9A75 #751F9A
tetradic
#9A751F #1F9A38 #1F449A #9A1F82
square
#9A751F #1F9A38 #1F449A #9A1F82
split-complementary
#9A751F #1F829A #381F9A
monochromatic
#34280A #674E15 #9A751F #CD9C29 #DDB556

Accessibility & contrast

On white

4.25
#9A751F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9A751F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A751F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A751F#FFFFFF#000000##000000
##9A751F1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85750F
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#A86964
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9a751f;
/* rgb */ color: rgb(154, 117, 31);
/* oklch */ color: oklch(58.4% 0.109 83.7);
Tailwind
colors: {
  custom: {
    50: '#bc9c62',
    500: '#9a751f',
    950: '#000000',
  },
}
SCSS
$custom: #9a751f;
$custom-light: #bc9c62;
$custom-dark: #000000;
JSON
{
  "hex": "#9a751f",
  "rgb": {
    "r": 154,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 41.951,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58408,
    "c": 0.10862,
    "h": 83.7
  },
  "luminance": 0.19692
}

Semantic roles & 50–950 ramp

primary
#9A751F
secondary
#5475C1
accent
#72E93E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9A751F

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

Preview Lab → · Contrast checker → · Palette generator →

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