#97822A#97822A

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

Color values

HEX#97822A
RGBrgb(151, 130, 42)
HSLhsl(48, 56%, 38%)
HSVhsv(48, 72%, 59%)
CMYKcmyk(0%, 13.9%, 72.2%, 40.8%)
CIE-LABlab(54.78, -2.01, 48.28)
CIE-LCHlch(54.78, 48.32, 92.38°)
OKLaboklab(60.95% -0.0101 0.1076)
OKLCHoklch(60.95% 0.108 95.4)
XYZxyz(21.1641, 22.7129, 5.4593)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97822A #2A3F97
analogous
#974B2A #97822A #76972A
triadic
#97822A #2A9782 #822A97
tetradic
#97822A #2A974B #2A3F97 #972A76
square
#97822A #2A974B #2A3F97 #972A76
split-complementary
#97822A #2A7697 #4B2A97
monochromatic
#37300F #67591D #97822A #C7AB37 #D5BF67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97822A#FFFFFF#000000##000000
##97822A1.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)
#907F1D
Deuteranopia (green-blind)
#95862F
Tritanopia (blue-blind)
#A37870
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #97822a;
/* rgb */ color: rgb(151, 130, 42);
/* oklch */ color: oklch(60.9% 0.108 95.4);
Tailwind
colors: {
  custom: {
    50: '#b9a669',
    500: '#97822a',
    950: '#000000',
  },
}
SCSS
$custom: #97822a;
$custom-light: #b9a669;
$custom-dark: #000000;
JSON
{
  "hex": "#97822a",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 42
  },
  "hsl": {
    "h": 48.44,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60949,
    "c": 0.10805,
    "h": 95.4
  },
  "luminance": 0.22712
}

Semantic roles & 50–950 ramp

primary
#97822A
secondary
#6273BB
accent
#65E048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97822A

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

Preview Lab → · Contrast checker → · Palette generator →

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