#97852F#97852F

#97852F is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.7% C 0.107 H 97.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#97852F
RGBrgb(151, 133, 47)
HSLhsl(50, 53%, 39%)
HSVhsv(50, 69%, 59%)
CMYKcmyk(0%, 11.9%, 68.9%, 40.8%)
CIE-LABlab(55.65, -3.39, 47.02)
CIE-LCHlch(55.65, 47.14, 94.13°)
OKLaboklab(61.65% -0.0135 0.1058)
OKLCHoklch(61.65% 0.107 97.3)
XYZxyz(21.6641, 23.5607, 6.0953)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97852F #2F4197
analogous
#97512F #97852F #75972F
triadic
#97852F #2F9785 #852F97
tetradic
#97852F #2F9751 #2F4197 #972F75
square
#97852F #2F9751 #2F4197 #972F75
split-complementary
#97852F #2F7597 #512F97
monochromatic
#3A3312 #685C20 #97852F #C3AD40 #D2C16E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97852F#FFFFFF#000000##000000
##97852F1.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)
#928224
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#A37B73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #97852f;
/* rgb */ color: rgb(151, 133, 47);
/* oklch */ color: oklch(61.7% 0.107 97.3);
Tailwind
colors: {
  custom: {
    50: '#b9a86c',
    500: '#97852f',
    950: '#000000',
  },
}
SCSS
$custom: #97852f;
$custom-light: #b9a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#97852f",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 47
  },
  "hsl": {
    "h": 49.615,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.6165,
    "c": 0.10668,
    "h": 97.3
  },
  "luminance": 0.2356
}

Semantic roles & 50–950 ramp

primary
#97852F
secondary
#6876B9
accent
#65DC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97852F

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

Preview Lab → · Contrast checker → · Palette generator →

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