#7C971A#7C971A

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

Color values

HEX#7C971A
RGBrgb(124, 151, 26)
HSLhsl(73, 71%, 35%)
HSVhsv(73, 83%, 59%)
CMYKcmyk(17.9%, 0%, 82.8%, 40.8%)
CIE-LABlab(58.50, -25.90, 56.55)
CIE-LCHlch(58.50, 62.20, 114.61°)
OKLaboklab(63.35% -0.0767 0.1231)
OKLCHoklch(63.35% 0.145 121.9)
XYZxyz(19.5656, 26.4928, 5.0600)
Luminance0.2649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C971A #351A97
analogous
#97741A #7C971A #3E971A
triadic
#7C971A #1A7C97 #971A7C
tetradic
#7C971A #1A9774 #351A97 #971A3E
square
#7C971A #1A9774 #351A97 #971A3E
split-complementary
#7C971A #1A3E97 #741A97
monochromatic
#262F08 #516311 #7C971A #A7CB23 #C0E04B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C971A#FFFFFF#000000##000000
##7C971A1.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)
#9D8D28
Tritanopia (blue-blind)
#838F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7c971a;
/* rgb */ color: rgb(124, 151, 26);
/* oklch */ color: oklch(63.3% 0.145 121.9);
Tailwind
colors: {
  custom: {
    50: '#a6b564',
    500: '#7c971a',
    950: '#000000',
  },
}
SCSS
$custom: #7c971a;
$custom-light: #a6b564;
$custom-dark: #000000;
JSON
{
  "hex": "#7c971a",
  "rgb": {
    "r": 124,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 72.96,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.63346,
    "c": 0.14509,
    "h": 121.9
  },
  "luminance": 0.26493
}

Semantic roles & 50–950 ramp

primary
#7C971A
secondary
#654BC2
accent
#3AED61
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C971A

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

Preview Lab → · Contrast checker → · Palette generator →

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