#9F7928#9F7928

#9F7928 is a mid, moderate orange. Relative luminance 0.212; OKLCH L 59.9% C 0.107 H 82.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9F7928
RGBrgb(159, 121, 40)
HSLhsl(41, 60%, 39%)
HSVhsv(41, 75%, 62%)
CMYKcmyk(0%, 23.9%, 74.8%, 37.6%)
CIE-LABlab(53.17, 6.61, 47.80)
CIE-LCHlch(53.17, 48.25, 82.13°)
OKLaboklab(59.87% 0.0139 0.1058)
OKLCHoklch(59.87% 0.107 82.5)
XYZxyz(21.5198, 21.2004, 4.9657)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7928 #284E9F
analogous
#9F3D28 #9F7928 #8A9F28
triadic
#9F7928 #289F79 #79289F
tetradic
#9F7928 #289F3D #284E9F #9F288A
square
#9F7928 #289F3D #284E9F #9F288A
split-complementary
#9F7928 #288A9F #3D289F
monochromatic
#3D2F0F #6E541C #9F7928 #CD9D37 #D9B568

Accessibility & contrast

On white

4.01
#9F7928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9F7928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7928
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7928#FFFFFF#000000##000000
##9F79281.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791C
Deuteranopia (green-blind)
#92832C
Tritanopia (blue-blind)
#AD6D69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f7928;
/* rgb */ color: rgb(159, 121, 40);
/* oklch */ color: oklch(59.9% 0.107 82.5);
Tailwind
colors: {
  custom: {
    50: '#bf9f67',
    500: '#9f7928',
    950: '#000000',
  },
}
SCSS
$custom: #9f7928;
$custom-light: #bf9f67;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7928",
  "rgb": {
    "r": 159,
    "g": 121,
    "b": 40
  },
  "hsl": {
    "h": 40.84,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59872,
    "c": 0.10674,
    "h": 82.5
  },
  "luminance": 0.21199
}

Semantic roles & 50–950 ramp

primary
#9F7928
secondary
#6481BF
accent
#77E345
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9F7928

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

Preview Lab → · Contrast checker → · Palette generator →

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