#97802B#97802B

#97802B is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.5% C 0.106 H 93.6°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#97802B
RGBrgb(151, 128, 43)
HSLhsl(47, 56%, 38%)
HSVhsv(47, 72%, 59%)
CMYKcmyk(0%, 15.2%, 71.5%, 40.8%)
CIE-LABlab(54.23, -0.84, 47.31)
CIE-LCHlch(54.23, 47.31, 91.02°)
OKLaboklab(60.52% -0.0067 0.1057)
OKLCHoklch(60.52% 0.106 93.6)
XYZxyz(20.9188, 22.1932, 5.4669)
Luminance0.2219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97802B #2B4297
analogous
#974A2B #97802B #78972B
triadic
#97802B #2B9780 #802B97
tetradic
#97802B #2B974A #2B4297 #972B78
square
#97802B #2B974A #2B4297 #972B78
split-complementary
#97802B #2B7897 #4A2B97
monochromatic
#382F10 #67581D #97802B #C7A839 #D4BD68

Accessibility & contrast

On white

3.86
#97802B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#97802B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97802B
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97802B#FFFFFF#000000##000000
##97802B1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1F
Deuteranopia (green-blind)
#938530
Tritanopia (blue-blind)
#A3766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #97802b;
/* rgb */ color: rgb(151, 128, 43);
/* oklch */ color: oklch(60.5% 0.106 93.6);
Tailwind
colors: {
  custom: {
    50: '#b9a46a',
    500: '#97802b',
    950: '#000000',
  },
}
SCSS
$custom: #97802b;
$custom-light: #b9a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#97802b",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 47.222,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60522,
    "c": 0.10592,
    "h": 93.6
  },
  "luminance": 0.22192
}

Semantic roles & 50–950 ramp

primary
#97802B
secondary
#6376BB
accent
#69DF49
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97802B

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

Preview Lab → · Contrast checker → · Palette generator →

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