#80981F#80981F

#80981F is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.9% C 0.142 H 120.8°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#80981F
RGBrgb(128, 152, 31)
HSLhsl(72, 66%, 36%)
HSVhsv(72, 80%, 60%)
CMYKcmyk(15.8%, 0%, 79.6%, 40.4%)
CIE-LABlab(59.11, -24.48, 55.74)
CIE-LCHlch(59.11, 60.88, 113.72°)
OKLaboklab(63.92% -0.0727 0.1221)
OKLCHoklch(63.92% 0.142 120.8)
XYZxyz(20.3780, 27.1446, 5.4620)
Luminance0.2715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80981F #371F98
analogous
#98731F #80981F #43981F
triadic
#80981F #1F8098 #981F80
tetradic
#80981F #1F9873 #371F98 #981F43
square
#80981F #1F9873 #371F98 #981F43
split-complementary
#80981F #1F4398 #731F98
monochromatic
#2A320A #556515 #80981F #ABCB29 #C2DC55

Accessibility & contrast

On white

3.27
#80981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#80981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #80981F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80981F#FFFFFF#000000##000000
##80981F1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#9F8E2B
Tritanopia (blue-blind)
#889082
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #80981f;
/* rgb */ color: rgb(128, 152, 31);
/* oklch */ color: oklch(63.9% 0.142 120.8);
Tailwind
colors: {
  custom: {
    50: '#a8b666',
    500: '#80981f',
    950: '#000000',
  },
}
SCSS
$custom: #80981f;
$custom-light: #a8b666;
$custom-dark: #000000;
JSON
{
  "hex": "#80981f",
  "rgb": {
    "r": 128,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 71.901,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63915,
    "c": 0.14215,
    "h": 120.8
  },
  "luminance": 0.27145
}

Semantic roles & 50–950 ramp

primary
#80981F
secondary
#6953C0
accent
#3FE961
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #80981F

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

Preview Lab → · Contrast checker → · Palette generator →

#80981F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva