#997E40#997E40

#997E40 is a mid, moderate orange. Relative luminance 0.221; OKLCH L 60.5% C 0.087 H 86.1°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#997E40
RGBrgb(153, 126, 64)
HSLhsl(42, 41%, 43%)
HSVhsv(42, 58%, 60%)
CMYKcmyk(0%, 17.6%, 58.2%, 40%)
CIE-LABlab(54.10, 2.63, 37.18)
CIE-LCHlch(54.10, 37.27, 85.96°)
OKLaboklab(60.53% 0.0059 0.0872)
OKLCHoklch(60.53% 0.087 86.1)
XYZxyz(21.5241, 22.0654, 7.9748)
Luminance0.2206 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997E40 #405B99
analogous
#995240 #997E40 #879940
triadic
#997E40 #40997E #7E4099
tetradic
#997E40 #409952 #405B99 #994087
square
#997E40 #409952 #405B99 #994087
split-complementary
#997E40 #408799 #524099
monochromatic
#43371C #6E5A2E #997E40 #BB9E5C #CDB787

Accessibility & contrast

On white

3.88
#997E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#997E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997E40
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997E40#FFFFFF#000000##000000
##997E401.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D3A
Deuteranopia (green-blind)
#918442
Tritanopia (blue-blind)
#A57570
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #997e40;
/* rgb */ color: rgb(153, 126, 64);
/* oklch */ color: oklch(60.5% 0.087 86.1);
Tailwind
colors: {
  custom: {
    50: '#b9a377',
    500: '#997e40',
    950: '#000000',
  },
}
SCSS
$custom: #997e40;
$custom-light: #b9a377;
$custom-dark: #000000;
JSON
{
  "hex": "#997e40",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 64
  },
  "hsl": {
    "h": 41.798,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.60529,
    "c": 0.08739,
    "h": 86.1
  },
  "luminance": 0.22064
}

Semantic roles & 50–950 ramp

primary
#997E40
secondary
#7E8FB7
accent
#7CD157
background
#FBFAF7
surface
#F6F3ED
border
#D0CDC8
text
#120F09
muted
#817F7B

Preview Lab

Preview with #997E40

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

Preview Lab → · Contrast checker → · Palette generator →

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