#97822B#97822B

#97822B is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 61.0% C 0.107 H 95.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#97822B
RGBrgb(151, 130, 43)
HSLhsl(48, 56%, 38%)
HSVhsv(48, 72%, 59%)
CMYKcmyk(0%, 13.9%, 71.5%, 40.8%)
CIE-LABlab(54.78, -1.96, 47.86)
CIE-LCHlch(54.78, 47.90, 92.34°)
OKLaboklab(60.96% -0.0099 0.1069)
OKLCHoklch(60.96% 0.107 95.3)
XYZxyz(21.1822, 22.7201, 5.5547)
Luminance0.2272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97822B #2B4097
analogous
#974C2B #97822B #76972B
triadic
#97822B #2B9782 #822B97
tetradic
#97822B #2B974C #2B4097 #972B76
square
#97822B #2B974C #2B4097 #972B76
split-complementary
#97822B #2B7697 #4C2B97
monochromatic
#383010 #67591D #97822B #C7AB39 #D4BF68

Accessibility & contrast

On white

3.79
#97822B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#97822B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97822B
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97822B#FFFFFF#000000##000000
##97822B1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1F
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#A37870
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #97822b;
/* rgb */ color: rgb(151, 130, 43);
/* oklch */ color: oklch(61.0% 0.107 95.3);
Tailwind
colors: {
  custom: {
    50: '#b9a66a',
    500: '#97822b',
    950: '#000000',
  },
}
SCSS
$custom: #97822b;
$custom-light: #b9a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#97822b",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 43
  },
  "hsl": {
    "h": 48.333,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60958,
    "c": 0.10734,
    "h": 95.3
  },
  "luminance": 0.22719
}

Semantic roles & 50–950 ramp

primary
#97822B
secondary
#6374BB
accent
#66DF49
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97822B

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

Preview Lab → · Contrast checker → · Palette generator →

#97822B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva