#7C971E#7C971E

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

Color values

HEX#7C971E
RGBrgb(124, 151, 30)
HSLhsl(73, 67%, 35%)
HSVhsv(73, 80%, 59%)
CMYKcmyk(17.9%, 0%, 80.1%, 40.8%)
CIE-LABlab(58.52, -25.74, 55.40)
CIE-LCHlch(58.52, 61.09, 114.92°)
OKLaboklab(63.37% -0.076 0.1214)
OKLCHoklch(63.37% 0.143 122)
XYZxyz(19.6134, 26.5120, 5.3121)
Luminance0.2651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C971E #391E97
analogous
#97751E #7C971E #40971E
triadic
#7C971E #1E7C97 #971E7C
tetradic
#7C971E #1E9775 #391E97 #971E40
square
#7C971E #1E9775 #391E97 #971E40
split-complementary
#7C971E #1E4097 #751E97
monochromatic
#28310A #526414 #7C971E #A6CA28 #BEDD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C971E#FFFFFF#000000##000000
##7C971E1.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)
#A08D00
Deuteranopia (green-blind)
#9D8D2A
Tritanopia (blue-blind)
#838F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7c971e;
/* rgb */ color: rgb(124, 151, 30);
/* oklch */ color: oklch(63.4% 0.143 122.0);
Tailwind
colors: {
  custom: {
    50: '#a5b565',
    500: '#7c971e',
    950: '#000000',
  },
}
SCSS
$custom: #7c971e;
$custom-light: #a5b565;
$custom-dark: #000000;
JSON
{
  "hex": "#7c971e",
  "rgb": {
    "r": 124,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 73.388,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63366,
    "c": 0.14322,
    "h": 122
  },
  "luminance": 0.26512
}

Semantic roles & 50–950 ramp

primary
#7C971E
secondary
#6A51C0
accent
#3EEA64
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C971E

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

Preview Lab → · Contrast checker → · Palette generator →

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