#97802A#97802A

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

Color values

HEX#97802A
RGBrgb(151, 128, 42)
HSLhsl(47, 56%, 38%)
HSVhsv(47, 72%, 59%)
CMYKcmyk(0%, 15.2%, 72.2%, 40.8%)
CIE-LABlab(54.22, -0.89, 47.72)
CIE-LCHlch(54.22, 47.73, 91.07°)
OKLaboklab(60.51% -0.007 0.1064)
OKLCHoklch(60.51% 0.107 93.7)
XYZxyz(20.9007, 22.1860, 5.3715)
Luminance0.2218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97802A #2A4197
analogous
#97492A #97802A #78972A
triadic
#97802A #2A9780 #802A97
tetradic
#97802A #2A9749 #2A4197 #972A78
square
#97802A #2A9749 #2A4197 #972A78
split-complementary
#97802A #2A7897 #492A97
monochromatic
#372F0F #67571D #97802A #C7A937 #D5BD67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97802A#FFFFFF#000000##000000
##97802A1.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)
#8E7E1E
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#A3766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #97802a;
/* rgb */ color: rgb(151, 128, 42);
/* oklch */ color: oklch(60.5% 0.107 93.7);
Tailwind
colors: {
  custom: {
    50: '#b9a469',
    500: '#97802a',
    950: '#000000',
  },
}
SCSS
$custom: #97802a;
$custom-light: #b9a469;
$custom-dark: #000000;
JSON
{
  "hex": "#97802a",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 47.339,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60513,
    "c": 0.10663,
    "h": 93.7
  },
  "luminance": 0.22185
}

Semantic roles & 50–950 ramp

primary
#97802A
secondary
#6275BB
accent
#68E048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97802A

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

Preview Lab → · Contrast checker → · Palette generator →

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