#7A971E#7A971E

#7A971E is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 63.2% C 0.144 H 122.9°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7A971E
RGBrgb(122, 151, 30)
HSLhsl(74, 67%, 35%)
HSVhsv(74, 80%, 59%)
CMYKcmyk(19.2%, 0%, 80.1%, 40.8%)
CIE-LABlab(58.38, -26.59, 55.23)
CIE-LCHlch(58.38, 61.29, 115.71°)
OKLaboklab(63.22% -0.0782 0.1211)
OKLCHoklch(63.22% 0.144 122.9)
XYZxyz(19.3273, 26.3644, 5.2987)
Luminance0.2636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A971E #3B1E97
analogous
#97771E #7A971E #3D971E
triadic
#7A971E #1E7A97 #971E7A
tetradic
#7A971E #1E9777 #3B1E97 #971E3D
square
#7A971E #1E9777 #3B1E97 #971E3D
split-complementary
#7A971E #1E3D97 #771E97
monochromatic
#27310A #516414 #7A971E #A3CA28 #BCDD53

Accessibility & contrast

On white

3.35
#7A971E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#7A971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A971E
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A971E#FFFFFF#000000##000000
##7A971E1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#9D8C2A
Tritanopia (blue-blind)
#818F81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7a971e;
/* rgb */ color: rgb(122, 151, 30);
/* oklch */ color: oklch(63.2% 0.144 122.9);
Tailwind
colors: {
  custom: {
    50: '#a4b565',
    500: '#7a971e',
    950: '#000000',
  },
}
SCSS
$custom: #7a971e;
$custom-light: #a4b565;
$custom-dark: #000000;
JSON
{
  "hex": "#7a971e",
  "rgb": {
    "r": 122,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 74.38,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63219,
    "c": 0.14414,
    "h": 122.9
  },
  "luminance": 0.26365
}

Semantic roles & 50–950 ramp

primary
#7A971E
secondary
#6C51C0
accent
#3EEA67
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A971E

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

Preview Lab → · Contrast checker → · Palette generator →

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