#7A971A#7A971A

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

Color values

HEX#7A971A
RGBrgb(122, 151, 26)
HSLhsl(74, 71%, 35%)
HSVhsv(74, 83%, 59%)
CMYKcmyk(19.2%, 0%, 82.8%, 40.8%)
CIE-LABlab(58.36, -26.75, 56.37)
CIE-LCHlch(58.36, 62.40, 115.39°)
OKLaboklab(63.2% -0.0789 0.1228)
OKLCHoklch(63.2% 0.146 122.7)
XYZxyz(19.2794, 26.3453, 5.0465)
Luminance0.2635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A971A #371A97
analogous
#97761A #7A971A #3C971A
triadic
#7A971A #1A7A97 #971A7A
tetradic
#7A971A #1A9776 #371A97 #971A3C
square
#7A971A #1A9776 #371A97 #971A3C
split-complementary
#7A971A #1A3C97 #761A97
monochromatic
#262F08 #506311 #7A971A #A4CB23 #BEE04B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A971A#FFFFFF#000000##000000
##7A971A1.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)
#9D8C28
Tritanopia (blue-blind)
#818F81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7a971a;
/* rgb */ color: rgb(122, 151, 26);
/* oklch */ color: oklch(63.2% 0.146 122.7);
Tailwind
colors: {
  custom: {
    50: '#a4b564',
    500: '#7a971a',
    950: '#000000',
  },
}
SCSS
$custom: #7a971a;
$custom-light: #a4b564;
$custom-dark: #000000;
JSON
{
  "hex": "#7a971a",
  "rgb": {
    "r": 122,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 73.92,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.63198,
    "c": 0.14601,
    "h": 122.7
  },
  "luminance": 0.26345
}

Semantic roles & 50–950 ramp

primary
#7A971A
secondary
#664BC2
accent
#3AED64
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A971A

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

Preview Lab → · Contrast checker → · Palette generator →

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