#9F7212#9F7212

#9F7212 is a mid, moderate orange. Relative luminance 0.194; OKLCH L 58.3% C 0.116 H 79.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9F7212
RGBrgb(159, 114, 18)
HSLhsl(41, 80%, 35%)
HSVhsv(41, 89%, 62%)
CMYKcmyk(0%, 28.3%, 88.7%, 37.6%)
CIE-LABlab(51.21, 9.79, 53.84)
CIE-LCHlch(51.21, 54.72, 79.69°)
OKLaboklab(58.3% 0.0207 0.1138)
OKLCHoklch(58.3% 0.116 79.7)
XYZxyz(20.4261, 19.4509, 3.2508)
Luminance0.1945 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7212 #123F9F
analogous
#9F2C12 #9F7212 #869F12
triadic
#9F7212 #129F72 #72129F
tetradic
#9F7212 #129F2C #123F9F #9F1286
square
#9F7212 #129F2C #123F9F #9F1286
split-complementary
#9F7212 #12869F #2C129F
monochromatic
#312306 #684B0C #9F7212 #D69918 #EAB442

Accessibility & contrast

On white

4.29
#9F7212 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#9F7212 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7212
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7212#FFFFFF#000000##000000
##9F72121.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#8E7F18
Tritanopia (blue-blind)
#AE6561
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9f7212;
/* rgb */ color: rgb(159, 114, 18);
/* oklch */ color: oklch(58.3% 0.116 79.7);
Tailwind
colors: {
  custom: {
    50: '#c19a5c',
    500: '#9f7212',
    950: '#000000',
  },
}
SCSS
$custom: #9f7212;
$custom-light: #c19a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7212",
  "rgb": {
    "r": 159,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 40.851,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58299,
    "c": 0.11568,
    "h": 79.7
  },
  "luminance": 0.19449
}

Semantic roles & 50–950 ramp

primary
#9F7212
secondary
#436ECA
accent
#70F632
background
#FCF9F5
surface
#F8F2E9
border
#D1CCC5
text
#130E04
muted
#827E79

Preview Lab

Preview with #9F7212

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

Preview Lab → · Contrast checker → · Palette generator →

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