#97822E#97822E

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

Color values

HEX#97822E
RGBrgb(151, 130, 46)
HSLhsl(48, 53%, 39%)
HSVhsv(48, 70%, 59%)
CMYKcmyk(0%, 13.9%, 69.5%, 40.8%)
CIE-LABlab(54.81, -1.79, 46.59)
CIE-LCHlch(54.81, 46.62, 92.20°)
OKLaboklab(60.98% -0.009 0.1047)
OKLCHoklch(60.98% 0.105 94.9)
XYZxyz(21.2393, 22.7430, 5.8553)
Luminance0.2274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97822E #2E4397
analogous
#974D2E #97822E #77972E
triadic
#97822E #2E9782 #822E97
tetradic
#97822E #2E974D #2E4397 #972E77
square
#97822E #2E974D #2E4397 #972E77
split-complementary
#97822E #2E7797 #4D2E97
monochromatic
#393111 #685A20 #97822E #C4A93E #D2BE6D

Accessibility & contrast

On white

3.78
#97822E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##97822E#FFFFFF#000000##000000
##97822E1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97822e;
/* rgb */ color: rgb(151, 130, 46);
/* oklch */ color: oklch(61.0% 0.105 94.9);
Tailwind
colors: {
  custom: {
    50: '#b9a66b',
    500: '#97822e',
    950: '#000000',
  },
}
SCSS
$custom: #97822e;
$custom-light: #b9a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#97822e",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 46
  },
  "hsl": {
    "h": 48,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60984,
    "c": 0.10513,
    "h": 94.9
  },
  "luminance": 0.22742
}

Semantic roles & 50–950 ramp

primary
#97822E
secondary
#6778BA
accent
#68DD4B
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97822E

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

Preview Lab → · Contrast checker → · Palette generator →

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