#997227#997227

#997227 is a mid, moderate orange. Relative luminance 0.190; OKLCH L 57.7% C 0.102 H 80.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#997227
RGBrgb(153, 114, 39)
HSLhsl(39, 59%, 38%)
HSVhsv(39, 75%, 60%)
CMYKcmyk(0%, 25.5%, 74.5%, 40%)
CIE-LABlab(50.63, 7.79, 45.49)
CIE-LCHlch(50.63, 46.15, 80.28°)
OKLaboklab(57.73% 0.0176 0.101)
OKLCHoklch(57.73% 0.102 80.1)
XYZxyz(19.5217, 18.9549, 4.5495)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997227 #274E99
analogous
#993927 #997227 #879927
triadic
#997227 #279972 #722799
tetradic
#997227 #279939 #274E99 #992787
square
#997227 #279939 #274E99 #992787
split-complementary
#997227 #278799 #392799
monochromatic
#37290E #684E1B #997227 #CA9633 #D7B063

Accessibility & contrast

On white

4.38
#997227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#997227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997227
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997227#FFFFFF#000000##000000
##9972271.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82731D
Deuteranopia (green-blind)
#8B7D2A
Tritanopia (blue-blind)
#A66763
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #997227;
/* rgb */ color: rgb(153, 114, 39);
/* oklch */ color: oklch(57.7% 0.102 80.1);
Tailwind
colors: {
  custom: {
    50: '#bb9a66',
    500: '#997227',
    950: '#000000',
  },
}
SCSS
$custom: #997227;
$custom-light: #bb9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#997227",
  "rgb": {
    "r": 153,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 39.474,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.5773,
    "c": 0.10249,
    "h": 80.1
  },
  "luminance": 0.18953
}

Semantic roles & 50–950 ramp

primary
#997227
secondary
#5F7FBD
accent
#7BE345
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #997227

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

Preview Lab → · Contrast checker → · Palette generator →

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