#76971F#76971F

#76971F is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 62.9% C 0.146 H 124.5°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#76971F
RGBrgb(118, 151, 31)
HSLhsl(77, 66%, 36%)
HSVhsv(77, 79%, 59%)
CMYKcmyk(21.9%, 0%, 79.5%, 40.8%)
CIE-LABlab(58.12, -28.22, 54.57)
CIE-LCHlch(58.12, 61.44, 117.34°)
OKLaboklab(62.94% -0.0824 0.12)
OKLCHoklch(62.94% 0.146 124.5)
XYZxyz(18.7853, 26.0835, 5.3410)
Luminance0.2608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76971F #401F97
analogous
#977C1F #76971F #3A971F
triadic
#76971F #1F7697 #971F76
tetradic
#76971F #1F977C #401F97 #971F3A
square
#76971F #1F977C #401F97 #971F3A
split-complementary
#76971F #1F3A97 #7C1F97
monochromatic
#27310A #4E6415 #76971F #9ECA29 #B7DC54

Accessibility & contrast

On white

3.38
#76971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#76971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #76971F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76971F#FFFFFF#000000##000000
##76971F1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#7C8F81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #76971f;
/* rgb */ color: rgb(118, 151, 31);
/* oklch */ color: oklch(62.9% 0.146 124.5);
Tailwind
colors: {
  custom: {
    50: '#a1b566',
    500: '#76971f',
    950: '#000000',
  },
}
SCSS
$custom: #76971f;
$custom-light: #a1b566;
$custom-dark: #000000;
JSON
{
  "hex": "#76971f",
  "rgb": {
    "r": 118,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 76.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62936,
    "c": 0.14554,
    "h": 124.5
  },
  "luminance": 0.26084
}

Semantic roles & 50–950 ramp

primary
#76971F
secondary
#7052BF
accent
#3FE96E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #76971F

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

Preview Lab → · Contrast checker → · Palette generator →

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