#97842B#97842B

#97842B is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.4% C 0.109 H 96.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#97842B
RGBrgb(151, 132, 43)
HSLhsl(49, 56%, 38%)
HSVhsv(49, 72%, 59%)
CMYKcmyk(0%, 12.6%, 71.5%, 40.8%)
CIE-LABlab(55.34, -3.06, 48.42)
CIE-LCHlch(55.34, 48.52, 93.62°)
OKLaboklab(61.4% -0.013 0.1081)
OKLCHoklch(61.4% 0.109 96.9)
XYZxyz(21.4509, 23.2573, 5.6443)
Luminance0.2326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97842B #2B3E97
analogous
#974E2B #97842B #74972B
triadic
#97842B #2B9784 #842B97
tetradic
#97842B #2B974E #2B3E97 #972B74
square
#97842B #2B974E #2B3E97 #972B74
split-complementary
#97842B #2B7497 #4E2B97
monochromatic
#383110 #675A1D #97842B #C7AE39 #D4C168

Accessibility & contrast

On white

3.72
#97842B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#97842B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97842B
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97842B#FFFFFF#000000##000000
##97842B1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811E
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#A37A72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #97842b;
/* rgb */ color: rgb(151, 132, 43);
/* oklch */ color: oklch(61.4% 0.109 96.9);
Tailwind
colors: {
  custom: {
    50: '#b9a76a',
    500: '#97842b',
    950: '#000000',
  },
}
SCSS
$custom: #97842b;
$custom-light: #b9a76a;
$custom-dark: #000000;
JSON
{
  "hex": "#97842b",
  "rgb": {
    "r": 151,
    "g": 132,
    "b": 43
  },
  "hsl": {
    "h": 49.444,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61396,
    "c": 0.10885,
    "h": 96.9
  },
  "luminance": 0.23256
}

Semantic roles & 50–950 ramp

primary
#97842B
secondary
#6373BB
accent
#63DF49
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97842B

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

Preview Lab → · Contrast checker → · Palette generator →

#97842B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva