#997A1F#997A1F

#997A1F is a mid, moderate orange. Relative luminance 0.208; OKLCH L 59.4% C 0.110 H 88.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#997A1F
RGBrgb(153, 122, 31)
HSLhsl(45, 66%, 36%)
HSVhsv(45, 80%, 60%)
CMYKcmyk(0%, 20.3%, 79.7%, 40%)
CIE-LABlab(52.72, 2.89, 50.71)
CIE-LCHlch(52.72, 50.79, 86.74°)
OKLaboklab(59.35% 0.0025 0.1104)
OKLCHoklch(59.35% 0.11 88.7)
XYZxyz(20.3450, 20.7917, 4.2377)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997A1F #1F3E99
analogous
#993D1F #997A1F #7B991F
triadic
#997A1F #1F997A #7A1F99
tetradic
#997A1F #1F993D #1F3E99 #991F7B
square
#997A1F #1F993D #1F3E99 #991F7B
split-complementary
#997A1F #1F7B99 #3D1F99
monochromatic
#33290A #665115 #997A1F #CCA329 #DDBA56

Accessibility & contrast

On white

4.07
#997A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#997A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997A1F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997A1F#FFFFFF#000000##000000
##997A1F1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790C
Deuteranopia (green-blind)
#918124
Tritanopia (blue-blind)
#A66F69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #997a1f;
/* rgb */ color: rgb(153, 122, 31);
/* oklch */ color: oklch(59.4% 0.110 88.7);
Tailwind
colors: {
  custom: {
    50: '#bba063',
    500: '#997a1f',
    950: '#000000',
  },
}
SCSS
$custom: #997a1f;
$custom-light: #bba063;
$custom-dark: #000000;
JSON
{
  "hex": "#997a1f",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 44.754,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59352,
    "c": 0.1104,
    "h": 88.7
  },
  "luminance": 0.2079
}

Semantic roles & 50–950 ramp

primary
#997A1F
secondary
#546FC0
accent
#6AE93F
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #997A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#997A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva