#97822F#97822F

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

Color values

HEX#97822F
RGBrgb(151, 130, 47)
HSLhsl(48, 53%, 39%)
HSVhsv(48, 69%, 59%)
CMYKcmyk(0%, 13.9%, 68.9%, 40.8%)
CIE-LABlab(54.81, -1.73, 46.15)
CIE-LCHlch(54.81, 46.19, 92.14°)
OKLaboklab(60.99% -0.0087 0.104)
OKLCHoklch(60.99% 0.104 94.8)
XYZxyz(21.2593, 22.7509, 5.9604)
Luminance0.2275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97822F #2F4497
analogous
#974E2F #97822F #78972F
triadic
#97822F #2F9782 #822F97
tetradic
#97822F #2F974E #2F4497 #972F78
square
#97822F #2F974E #2F4497 #972F78
split-complementary
#97822F #2F7897 #4E2F97
monochromatic
#3A3212 #685A20 #97822F #C3A940 #D2BE6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97822F#FFFFFF#000000##000000
##97822F1.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)
#8F7F24
Deuteranopia (green-blind)
#958633
Tritanopia (blue-blind)
#A37871
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #97822f;
/* rgb */ color: rgb(151, 130, 47);
/* oklch */ color: oklch(61.0% 0.104 94.8);
Tailwind
colors: {
  custom: {
    50: '#b9a66c',
    500: '#97822f',
    950: '#000000',
  },
}
SCSS
$custom: #97822f;
$custom-light: #b9a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#97822f",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 47
  },
  "hsl": {
    "h": 47.885,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60993,
    "c": 0.10437,
    "h": 94.8
  },
  "luminance": 0.2275
}

Semantic roles & 50–950 ramp

primary
#97822F
secondary
#6879B9
accent
#69DC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97822F

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

Preview Lab → · Contrast checker → · Palette generator →

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