#9F8028#9F8028

#9F8028 is a mid, moderate orange. Relative luminance 0.230; OKLCH L 61.3% C 0.110 H 88.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9F8028
RGBrgb(159, 128, 40)
HSLhsl(44, 60%, 39%)
HSVhsv(44, 75%, 62%)
CMYKcmyk(0%, 19.5%, 74.8%, 37.6%)
CIE-LABlab(55.04, 2.67, 49.64)
CIE-LCHlch(55.04, 49.71, 86.93°)
OKLaboklab(61.34% 0.0025 0.1097)
OKLCHoklch(61.34% 0.11 88.7)
XYZxyz(22.4016, 22.9639, 5.2596)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8028 #28479F
analogous
#9F4528 #9F8028 #839F28
triadic
#9F8028 #289F80 #80289F
tetradic
#9F8028 #289F45 #28479F #9F2883
square
#9F8028 #289F45 #28479F #9F2883
split-complementary
#9F8028 #28839F #45289F
monochromatic
#3D310F #6E591C #9F8028 #CDA637 #D9BC68

Accessibility & contrast

On white

3.76
#9F8028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#9F8028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8028
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8028#FFFFFF#000000##000000
##9F80281.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1A
Deuteranopia (green-blind)
#97872D
Tritanopia (blue-blind)
#AC756E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9f8028;
/* rgb */ color: rgb(159, 128, 40);
/* oklch */ color: oklch(61.3% 0.110 88.7);
Tailwind
colors: {
  custom: {
    50: '#bfa468',
    500: '#9f8028',
    950: '#000000',
  },
}
SCSS
$custom: #9f8028;
$custom-light: #bfa468;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8028",
  "rgb": {
    "r": 159,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 44.37,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6134,
    "c": 0.10976,
    "h": 88.7
  },
  "luminance": 0.22962
}

Semantic roles & 50–950 ramp

primary
#9F8028
secondary
#647BBF
accent
#6EE345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F8028

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

Preview Lab → · Contrast checker → · Palette generator →

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