#97852C#97852C

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

Color values

HEX#97852C
RGBrgb(151, 133, 44)
HSLhsl(50, 55%, 38%)
HSVhsv(50, 71%, 59%)
CMYKcmyk(0%, 11.9%, 70.9%, 40.8%)
CIE-LABlab(55.62, -3.56, 48.29)
CIE-LCHlch(55.62, 48.42, 94.22°)
OKLaboklab(61.62% -0.0143 0.108)
OKLCHoklch(61.62% 0.109 97.6)
XYZxyz(21.6057, 23.5373, 5.7875)
Luminance0.2354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97852C #2C3E97
analogous
#97502C #97852C #73972C
triadic
#97852C #2C9785 #852C97
tetradic
#97852C #2C9750 #2C3E97 #972C73
square
#97852C #2C9750 #2C3E97 #972C73
split-complementary
#97852C #2C7397 #502C97
monochromatic
#383210 #685B1E #97852C #C6AE3A #D4C26A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #97852c;
/* rgb */ color: rgb(151, 133, 44);
/* oklch */ color: oklch(61.6% 0.109 97.6);
Tailwind
colors: {
  custom: {
    50: '#b9a86b',
    500: '#97852c',
    950: '#000000',
  },
}
SCSS
$custom: #97852c;
$custom-light: #b9a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#97852c",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 44
  },
  "hsl": {
    "h": 49.907,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61624,
    "c": 0.10892,
    "h": 97.6
  },
  "luminance": 0.23536
}

Semantic roles & 50–950 ramp

primary
#97852C
secondary
#6573BA
accent
#63DE4A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97852C

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

Preview Lab → · Contrast checker → · Palette generator →

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