#76971C#76971C

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

Color values

HEX#76971C
RGBrgb(118, 151, 28)
HSLhsl(76, 69%, 35%)
HSVhsv(76, 81%, 59%)
CMYKcmyk(21.9%, 0%, 81.5%, 40.8%)
CIE-LABlab(58.10, -28.35, 55.47)
CIE-LCHlch(58.10, 62.29, 117.07°)
OKLaboklab(62.92% -0.0829 0.1214)
OKLCHoklch(62.92% 0.147 124.3)
XYZxyz(18.7476, 26.0684, 5.1424)
Luminance0.2607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76971C #3D1C97
analogous
#977B1C #76971C #38971C
triadic
#76971C #1C7697 #971C76
tetradic
#76971C #1C977B #3D1C97 #971C38
square
#76971C #1C977B #3D1C97 #971C38
split-complementary
#76971C #1C3897 #7B1C97
monochromatic
#253009 #4E6312 #76971C #9ECB26 #B8DE4F

Accessibility & contrast

On white

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

On black

6.21
#76971C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #76971C
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76971C#FFFFFF#000000##000000
##76971C1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #76971c;
/* rgb */ color: rgb(118, 151, 28);
/* oklch */ color: oklch(62.9% 0.147 124.3);
Tailwind
colors: {
  custom: {
    50: '#a1b564',
    500: '#76971c',
    950: '#000000',
  },
}
SCSS
$custom: #76971c;
$custom-light: #a1b564;
$custom-dark: #000000;
JSON
{
  "hex": "#76971c",
  "rgb": {
    "r": 118,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 76.098,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6292,
    "c": 0.14701,
    "h": 124.3
  },
  "luminance": 0.26069
}

Semantic roles & 50–950 ramp

primary
#76971C
secondary
#6D4EC1
accent
#3CEC6B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #76971C

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

Preview Lab → · Contrast checker → · Palette generator →

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