#9F7227#9F7227

#9F7227 is a mid, moderate orange. Relative luminance 0.196; OKLCH L 58.4% C 0.106 H 76.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9F7227
RGBrgb(159, 114, 39)
HSLhsl(38, 61%, 39%)
HSVhsv(38, 75%, 62%)
CMYKcmyk(0%, 28.3%, 75.5%, 37.6%)
CIE-LABlab(51.33, 10.53, 46.41)
CIE-LCHlch(51.33, 47.59, 77.21°)
OKLaboklab(58.43% 0.0252 0.1027)
OKLCHoklch(58.43% 0.106 76.2)
XYZxyz(20.6830, 19.5537, 4.6040)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7227 #27549F
analogous
#9F3627 #9F7227 #909F27
triadic
#9F7227 #279F72 #72279F
tetradic
#9F7227 #279F36 #27549F #9F2790
square
#9F7227 #279F36 #27549F #9F2790
split-complementary
#9F7227 #27909F #36279F
monochromatic
#3D2C0F #6E4F1B #9F7227 #CE9536 #DAAF67

Accessibility & contrast

On white

4.28
#9F7227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#9F7227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7227
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7227#FFFFFF#000000##000000
##9F72271.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83741C
Deuteranopia (green-blind)
#8D7F2A
Tritanopia (blue-blind)
#AD6663
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9f7227;
/* rgb */ color: rgb(159, 114, 39);
/* oklch */ color: oklch(58.4% 0.106 76.2);
Tailwind
colors: {
  custom: {
    50: '#c09a66',
    500: '#9f7227',
    950: '#000000',
  },
}
SCSS
$custom: #9f7227;
$custom-light: #c09a66;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7227",
  "rgb": {
    "r": 159,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 37.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.58429,
    "c": 0.10569,
    "h": 76.2
  },
  "luminance": 0.19552
}

Semantic roles & 50–950 ramp

primary
#9F7227
secondary
#6285C0
accent
#80E444
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9F7227

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

Preview Lab → · Contrast checker → · Palette generator →

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