#97852D#97852D

#97852D is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.6% C 0.108 H 97.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#97852D
RGBrgb(151, 133, 45)
HSLhsl(50, 54%, 38%)
HSVhsv(50, 70%, 59%)
CMYKcmyk(0%, 11.9%, 70.2%, 40.8%)
CIE-LABlab(55.63, -3.51, 47.87)
CIE-LCHlch(55.63, 48.00, 94.19°)
OKLaboklab(61.63% -0.0141 0.1073)
OKLCHoklch(61.63% 0.108 97.5)
XYZxyz(21.6247, 23.5449, 5.8877)
Luminance0.2354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97852D #2D3F97
analogous
#97502D #97852D #74972D
triadic
#97852D #2D9785 #852D97
tetradic
#97852D #2D9750 #2D3F97 #972D74
square
#97852D #2D9750 #2D3F97 #972D74
split-complementary
#97852D #2D7497 #502D97
monochromatic
#393211 #685B1F #97852D #C5AE3C #D3C16B

Accessibility & contrast

On white

3.68
#97852D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#97852D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97852D
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97852D#FFFFFF#000000##000000
##97852D1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928221
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#A37B73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #97852d;
/* rgb */ color: rgb(151, 133, 45);
/* oklch */ color: oklch(61.6% 0.108 97.5);
Tailwind
colors: {
  custom: {
    50: '#b9a86b',
    500: '#97852d',
    950: '#000000',
  },
}
SCSS
$custom: #97852d;
$custom-light: #b9a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#97852d",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 49.811,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61632,
    "c": 0.10819,
    "h": 97.5
  },
  "luminance": 0.23544
}

Semantic roles & 50–950 ramp

primary
#97852D
secondary
#6674BA
accent
#63DD4A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97852D

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

Preview Lab → · Contrast checker → · Palette generator →

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