#97852A#97852A

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

Color values

HEX#97852A
RGBrgb(151, 133, 42)
HSLhsl(50, 56%, 38%)
HSVhsv(50, 72%, 59%)
CMYKcmyk(0%, 11.9%, 72.2%, 40.8%)
CIE-LABlab(55.61, -3.67, 49.11)
CIE-LCHlch(55.61, 49.24, 94.28°)
OKLaboklab(61.61% -0.0149 0.1093)
OKLCHoklch(61.61% 0.11 97.8)
XYZxyz(21.5690, 23.5226, 5.5943)
Luminance0.2352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97852A #2A3C97
analogous
#974F2A #97852A #72972A
triadic
#97852A #2A9785 #852A97
tetradic
#97852A #2A974F #2A3C97 #972A72
square
#97852A #2A974F #2A3C97 #972A72
split-complementary
#97852A #2A7297 #4F2A97
monochromatic
#37310F #675B1D #97852A #C7AF37 #D5C367

Accessibility & contrast

On white

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

On black

5.70
#97852A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97852A
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97852A#FFFFFF#000000##000000
##97852A1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92821C
Deuteranopia (green-blind)
#97882F
Tritanopia (blue-blind)
#A37B73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #97852a;
/* rgb */ color: rgb(151, 133, 42);
/* oklch */ color: oklch(61.6% 0.110 97.8);
Tailwind
colors: {
  custom: {
    50: '#b9a869',
    500: '#97852a',
    950: '#000000',
  },
}
SCSS
$custom: #97852a;
$custom-light: #b9a869;
$custom-dark: #000000;
JSON
{
  "hex": "#97852a",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 42
  },
  "hsl": {
    "h": 50.092,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61607,
    "c": 0.11034,
    "h": 97.8
  },
  "luminance": 0.23522
}

Semantic roles & 50–950 ramp

primary
#97852A
secondary
#6271BB
accent
#61E048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97852A

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

Preview Lab → · Contrast checker → · Palette generator →

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