#97802C#97802C

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

Color values

HEX#97802C
RGBrgb(151, 128, 44)
HSLhsl(47, 55%, 38%)
HSVhsv(47, 71%, 59%)
CMYKcmyk(0%, 15.2%, 70.9%, 40.8%)
CIE-LABlab(54.24, -0.78, 46.88)
CIE-LCHlch(54.24, 46.89, 90.96°)
OKLaboklab(60.53% -0.0064 0.105)
OKLCHoklch(60.53% 0.105 93.5)
XYZxyz(20.9374, 22.2007, 5.5647)
Luminance0.2220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97802C #2C4397
analogous
#974A2C #97802C #78972C
triadic
#97802C #2C9780 #802C97
tetradic
#97802C #2C974A #2C4397 #972C78
square
#97802C #2C974A #2C4397 #972C78
split-complementary
#97802C #2C7897 #4A2C97
monochromatic
#383010 #68581E #97802C #C6A83A #D4BD6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97802C#FFFFFF#000000##000000
##97802C1.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)
#8E7E21
Deuteranopia (green-blind)
#938530
Tritanopia (blue-blind)
#A3766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #97802c;
/* rgb */ color: rgb(151, 128, 44);
/* oklch */ color: oklch(60.5% 0.105 93.5);
Tailwind
colors: {
  custom: {
    50: '#b9a46a',
    500: '#97802c',
    950: '#000000',
  },
}
SCSS
$custom: #97802c;
$custom-light: #b9a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#97802c",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 47.103,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.6053,
    "c": 0.10519,
    "h": 93.5
  },
  "luminance": 0.222
}

Semantic roles & 50–950 ramp

primary
#97802C
secondary
#6577BA
accent
#6ADE4A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97802C

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

Preview Lab → · Contrast checker → · Palette generator →

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