#80981B#80981B

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

Color values

HEX#80981B
RGBrgb(128, 152, 27)
HSLhsl(72, 70%, 35%)
HSVhsv(72, 82%, 60%)
CMYKcmyk(15.8%, 0%, 82.2%, 40.4%)
CIE-LABlab(59.09, -24.65, 56.90)
CIE-LCHlch(59.09, 62.01, 113.42°)
OKLaboklab(63.89% -0.0735 0.1239)
OKLCHoklch(63.89% 0.144 120.7)
XYZxyz(20.3286, 27.1248, 5.2014)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80981B #331B98
analogous
#98711B #80981B #42981B
triadic
#80981B #1B8098 #981B80
tetradic
#80981B #1B9871 #331B98 #981B42
square
#80981B #1B9871 #331B98 #981B42
split-complementary
#80981B #1B4298 #711B98
monochromatic
#283009 #546412 #80981B #ACCC24 #C4E04E

Accessibility & contrast

On white

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

On black

6.42
#80981B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #80981B
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80981B#FFFFFF#000000##000000
##80981B1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #80981b;
/* rgb */ color: rgb(128, 152, 27);
/* oklch */ color: oklch(63.9% 0.144 120.7);
Tailwind
colors: {
  custom: {
    50: '#a8b664',
    500: '#80981b',
    950: '#000000',
  },
}
SCSS
$custom: #80981b;
$custom-light: #a8b664;
$custom-dark: #000000;
JSON
{
  "hex": "#80981b",
  "rgb": {
    "r": 128,
    "g": 152,
    "b": 27
  },
  "hsl": {
    "h": 71.52,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63894,
    "c": 0.14406,
    "h": 120.7
  },
  "luminance": 0.27125
}

Semantic roles & 50–950 ramp

primary
#80981B
secondary
#634DC2
accent
#3BED5D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #80981B

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

Preview Lab → · Contrast checker → · Palette generator →

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