#7C971C#7C971C

#7C971C is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 63.4% C 0.144 H 122.0°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7C971C
RGBrgb(124, 151, 28)
HSLhsl(73, 69%, 35%)
HSVhsv(73, 81%, 59%)
CMYKcmyk(17.9%, 0%, 81.5%, 40.8%)
CIE-LABlab(58.51, -25.82, 55.99)
CIE-LCHlch(58.51, 61.66, 114.76°)
OKLaboklab(63.36% -0.0764 0.1223)
OKLCHoklch(63.36% 0.144 122)
XYZxyz(19.5887, 26.5021, 5.1818)
Luminance0.2650 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C971C #371C97
analogous
#97751C #7C971C #3E971C
triadic
#7C971C #1C7C97 #971C7C
tetradic
#7C971C #1C9775 #371C97 #971C3E
square
#7C971C #1C9775 #371C97 #971C3E
split-complementary
#7C971C #1C3E97 #751C97
monochromatic
#273009 #526312 #7C971C #A6CB26 #BFDE4F

Accessibility & contrast

On white

3.33
#7C971C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#7C971C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C971C
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C971C#FFFFFF#000000##000000
##7C971C1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18D00
Deuteranopia (green-blind)
#9D8D29
Tritanopia (blue-blind)
#838F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7c971c;
/* rgb */ color: rgb(124, 151, 28);
/* oklch */ color: oklch(63.4% 0.144 122.0);
Tailwind
colors: {
  custom: {
    50: '#a6b564',
    500: '#7c971c',
    950: '#000000',
  },
}
SCSS
$custom: #7c971c;
$custom-light: #a6b564;
$custom-dark: #000000;
JSON
{
  "hex": "#7c971c",
  "rgb": {
    "r": 124,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 73.171,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63356,
    "c": 0.14418,
    "h": 122
  },
  "luminance": 0.26502
}

Semantic roles & 50–950 ramp

primary
#7C971C
secondary
#674EC1
accent
#3CEC63
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C971C

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

Preview Lab → · Contrast checker → · Palette generator →

#7C971C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva