#997828#997828

#997828 is a mid, moderate orange. Relative luminance 0.204; OKLCH L 59.0% C 0.104 H 85.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#997828
RGBrgb(153, 120, 40)
HSLhsl(42, 59%, 38%)
HSVhsv(42, 74%, 60%)
CMYKcmyk(0%, 21.6%, 73.9%, 40%)
CIE-LABlab(52.24, 4.42, 46.66)
CIE-LCHlch(52.24, 46.87, 84.58°)
OKLaboklab(58.99% 0.008 0.1037)
OKLCHoklch(58.99% 0.104 85.6)
XYZxyz(20.2376, 20.3598, 4.8710)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997828 #284999
analogous
#994028 #997828 #819928
triadic
#997828 #289978 #782899
tetradic
#997828 #289940 #284999 #992881
square
#997828 #289940 #284999 #992881
split-complementary
#997828 #288199 #402899
monochromatic
#382C0F #68521B #997828 #CA9E35 #D7B565

Accessibility & contrast

On white

4.14
#997828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#997828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997828
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997828#FFFFFF#000000##000000
##9978281.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781D
Deuteranopia (green-blind)
#8F802C
Tritanopia (blue-blind)
#A66D68
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #997828;
/* rgb */ color: rgb(153, 120, 40);
/* oklch */ color: oklch(59.0% 0.104 85.6);
Tailwind
colors: {
  custom: {
    50: '#bb9e67',
    500: '#997828',
    950: '#000000',
  },
}
SCSS
$custom: #997828;
$custom-light: #bb9e67;
$custom-dark: #000000;
JSON
{
  "hex": "#997828",
  "rgb": {
    "r": 153,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 42.478,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58994,
    "c": 0.10397,
    "h": 85.6
  },
  "luminance": 0.20358
}

Semantic roles & 50–950 ramp

primary
#997828
secondary
#607BBD
accent
#74E246
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #997828

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

Preview Lab → · Contrast checker → · Palette generator →

#997828 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva