#97822C#97822C

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

Color values

HEX#97822C
RGBrgb(151, 130, 44)
HSLhsl(48, 55%, 38%)
HSVhsv(48, 71%, 59%)
CMYKcmyk(0%, 13.9%, 70.9%, 40.8%)
CIE-LABlab(54.79, -1.90, 47.44)
CIE-LCHlch(54.79, 47.48, 92.29°)
OKLaboklab(60.97% -0.0096 0.1062)
OKLCHoklch(60.97% 0.107 95.2)
XYZxyz(21.2008, 22.7275, 5.6525)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97822C #2C4197
analogous
#974C2C #97822C #76972C
triadic
#97822C #2C9782 #822C97
tetradic
#97822C #2C974C #2C4197 #972C76
square
#97822C #2C974C #2C4197 #972C76
split-complementary
#97822C #2C7697 #4C2C97
monochromatic
#383010 #68591E #97822C #C6AA3A #D4BF6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97822C#FFFFFF#000000##000000
##97822C1.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)
#907F20
Deuteranopia (green-blind)
#958631
Tritanopia (blue-blind)
#A37870
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #97822c;
/* rgb */ color: rgb(151, 130, 44);
/* oklch */ color: oklch(61.0% 0.107 95.2);
Tailwind
colors: {
  custom: {
    50: '#b9a66a',
    500: '#97822c',
    950: '#000000',
  },
}
SCSS
$custom: #97822c;
$custom-light: #b9a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#97822c",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 44
  },
  "hsl": {
    "h": 48.224,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60966,
    "c": 0.10662,
    "h": 95.2
  },
  "luminance": 0.22726
}

Semantic roles & 50–950 ramp

primary
#97822C
secondary
#6575BA
accent
#67DE4A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97822C

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

Preview Lab → · Contrast checker → · Palette generator →

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