#997B2F#997B2F

#997B2F is a mid, moderate orange. Relative luminance 0.211; OKLCH L 59.7% C 0.100 H 87.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#997B2F
RGBrgb(153, 123, 47)
HSLhsl(43, 53%, 39%)
HSVhsv(43, 69%, 60%)
CMYKcmyk(0%, 19.6%, 69.3%, 40%)
CIE-LABlab(53.11, 3.11, 44.43)
CIE-LCHlch(53.11, 44.54, 85.99°)
OKLaboklab(59.69% 0.0051 0.1003)
OKLCHoklch(59.69% 0.1 87.1)
XYZxyz(20.7341, 21.1448, 5.6780)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997B2F #2F4D99
analogous
#99462F #997B2F #82992F
triadic
#997B2F #2F997B #7B2F99
tetradic
#997B2F #2F9946 #2F4D99 #992F82
square
#997B2F #2F9946 #2F4D99 #992F82
split-complementary
#997B2F #2F8299 #462F99
monochromatic
#3B3012 #6A5521 #997B2F #C59F41 #D3B76F

Accessibility & contrast

On white

4.02
#997B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#997B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997B2F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997B2F#FFFFFF#000000##000000
##997B2F1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A26
Deuteranopia (green-blind)
#908232
Tritanopia (blue-blind)
#A6716B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #997b2f;
/* rgb */ color: rgb(153, 123, 47);
/* oklch */ color: oklch(59.7% 0.100 87.1);
Tailwind
colors: {
  custom: {
    50: '#baa06b',
    500: '#997b2f',
    950: '#000000',
  },
}
SCSS
$custom: #997b2f;
$custom-light: #baa06b;
$custom-dark: #000000;
JSON
{
  "hex": "#997b2f",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 43.019,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.59694,
    "c": 0.1004,
    "h": 87.1
  },
  "luminance": 0.21143
}

Semantic roles & 50–950 ramp

primary
#997B2F
secondary
#6980BA
accent
#74DC4B
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E07
muted
#817E7A

Preview Lab

Preview with #997B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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