#97822D#97822D

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

Color values

HEX#97822D
RGBrgb(151, 130, 45)
HSLhsl(48, 54%, 38%)
HSVhsv(48, 70%, 59%)
CMYKcmyk(0%, 13.9%, 70.2%, 40.8%)
CIE-LABlab(54.80, -1.84, 47.02)
CIE-LCHlch(54.80, 47.06, 92.25°)
OKLaboklab(60.98% -0.0093 0.1055)
OKLCHoklch(60.98% 0.106 95)
XYZxyz(21.2198, 22.7352, 5.7527)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97822D #2D4297
analogous
#974D2D #97822D #77972D
triadic
#97822D #2D9782 #822D97
tetradic
#97822D #2D974D #2D4297 #972D77
square
#97822D #2D974D #2D4297 #972D77
split-complementary
#97822D #2D7797 #4D2D97
monochromatic
#393111 #68591F #97822D #C5AA3C #D3BE6B

Accessibility & contrast

On white

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

On black

5.55
#97822D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97822D
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97822D#FFFFFF#000000##000000
##97822D1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F22
Deuteranopia (green-blind)
#958632
Tritanopia (blue-blind)
#A37871
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #97822d;
/* rgb */ color: rgb(151, 130, 45);
/* oklch */ color: oklch(61.0% 0.106 95.0);
Tailwind
colors: {
  custom: {
    50: '#b9a66b',
    500: '#97822d',
    950: '#000000',
  },
}
SCSS
$custom: #97822d;
$custom-light: #b9a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#97822d",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 45
  },
  "hsl": {
    "h": 48.113,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60975,
    "c": 0.10588,
    "h": 95
  },
  "luminance": 0.22734
}

Semantic roles & 50–950 ramp

primary
#97822D
secondary
#6677BA
accent
#67DD4A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97822D

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

Preview Lab → · Contrast checker → · Palette generator →

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