#97832F#97832F

#97832F is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.2% C 0.105 H 95.6°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#97832F
RGBrgb(151, 131, 47)
HSLhsl(48, 53%, 39%)
HSVhsv(48, 69%, 59%)
CMYKcmyk(0%, 13.2%, 68.9%, 40.8%)
CIE-LABlab(55.09, -2.28, 46.44)
CIE-LCHlch(55.09, 46.50, 92.81°)
OKLaboklab(61.21% -0.0103 0.1046)
OKLCHoklch(61.21% 0.105 95.6)
XYZxyz(21.3929, 23.0182, 6.0049)
Luminance0.2302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97832F #2F4397
analogous
#974F2F #97832F #77972F
triadic
#97832F #2F9783 #832F97
tetradic
#97832F #2F974F #2F4397 #972F77
square
#97832F #2F974F #2F4397 #972F77
split-complementary
#97832F #2F7797 #4F2F97
monochromatic
#3A3212 #685B20 #97832F #C3AA40 #D2BF6E

Accessibility & contrast

On white

3.75
#97832F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#97832F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97832F
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97832F#FFFFFF#000000##000000
##97832F1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908024
Deuteranopia (green-blind)
#958733
Tritanopia (blue-blind)
#A37972
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #97832f;
/* rgb */ color: rgb(151, 131, 47);
/* oklch */ color: oklch(61.2% 0.105 95.6);
Tailwind
colors: {
  custom: {
    50: '#b9a66c',
    500: '#97832f',
    950: '#000000',
  },
}
SCSS
$custom: #97832f;
$custom-light: #b9a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#97832f",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 47
  },
  "hsl": {
    "h": 48.462,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.61212,
    "c": 0.10512,
    "h": 95.6
  },
  "luminance": 0.23017
}

Semantic roles & 50–950 ramp

primary
#97832F
secondary
#6878B9
accent
#68DC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97832F

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

Preview Lab → · Contrast checker → · Palette generator →

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