#80971C#80971C

#80971C is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.7% C 0.142 H 120.3°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#80971C
RGBrgb(128, 151, 28)
HSLhsl(71, 69%, 35%)
HSVhsv(71, 81%, 59%)
CMYKcmyk(15.2%, 0%, 81.5%, 40.8%)
CIE-LABlab(58.79, -24.11, 56.35)
CIE-LCHlch(58.79, 61.29, 113.17°)
OKLaboklab(63.66% -0.0719 0.1229)
OKLCHoklch(63.66% 0.142 120.3)
XYZxyz(20.1787, 26.8063, 5.2095)
Luminance0.2681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80971C #331C97
analogous
#97711C #80971C #42971C
triadic
#80971C #1C8097 #971C80
tetradic
#80971C #1C9771 #331C97 #971C42
square
#80971C #1C9771 #331C97 #971C42
split-complementary
#80971C #1C4297 #711C97
monochromatic
#283009 #546312 #80971C #ACCB26 #C4DE4F

Accessibility & contrast

On white

3.30
#80971C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#80971C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #80971C
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80971C#FFFFFF#000000##000000
##80971C1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#9E8E29
Tritanopia (blue-blind)
#888F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #80971c;
/* rgb */ color: rgb(128, 151, 28);
/* oklch */ color: oklch(63.7% 0.142 120.3);
Tailwind
colors: {
  custom: {
    50: '#a8b565',
    500: '#80971c',
    950: '#000000',
  },
}
SCSS
$custom: #80971c;
$custom-light: #a8b565;
$custom-dark: #000000;
JSON
{
  "hex": "#80971c",
  "rgb": {
    "r": 128,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 71.22,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63657,
    "c": 0.14241,
    "h": 120.3
  },
  "luminance": 0.26806
}

Semantic roles & 50–950 ramp

primary
#80971C
secondary
#634EC1
accent
#3CEC5D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #80971C

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

Preview Lab → · Contrast checker → · Palette generator →

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