#7A981A#7A981A

#7A981A is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.4% C 0.147 H 123.0°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7A981A
RGBrgb(122, 152, 26)
HSLhsl(74, 71%, 35%)
HSVhsv(74, 83%, 60%)
CMYKcmyk(19.7%, 0%, 82.9%, 40.4%)
CIE-LABlab(58.67, -27.24, 56.64)
CIE-LCHlch(58.67, 62.85, 115.68°)
OKLaboklab(63.44% -0.0803 0.1234)
OKLCHoklch(63.44% 0.147 123)
XYZxyz(19.4410, 26.6685, 5.1004)
Luminance0.2667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A981A #381A98
analogous
#98771A #7A981A #3B981A
triadic
#7A981A #1A7A98 #981A7A
tetradic
#7A981A #1A9877 #381A98 #981A3B
square
#7A981A #1A9877 #381A98 #981A3B
split-complementary
#7A981A #1A3B98 #771A98
monochromatic
#262F08 #506411 #7A981A #A4CC23 #BDE04C

Accessibility & contrast

On white

3.32
#7A981A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#7A981A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A981A
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A981A#FFFFFF#000000##000000
##7A981A1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#9D8D28
Tritanopia (blue-blind)
#819081
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7a981a;
/* rgb */ color: rgb(122, 152, 26);
/* oklch */ color: oklch(63.4% 0.147 123.0);
Tailwind
colors: {
  custom: {
    50: '#a4b664',
    500: '#7a981a',
    950: '#000000',
  },
}
SCSS
$custom: #7a981a;
$custom-light: #a4b664;
$custom-dark: #000000;
JSON
{
  "hex": "#7a981a",
  "rgb": {
    "r": 122,
    "g": 152,
    "b": 26
  },
  "hsl": {
    "h": 74.286,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63443,
    "c": 0.14721,
    "h": 123
  },
  "luminance": 0.26669
}

Semantic roles & 50–950 ramp

primary
#7A981A
secondary
#684BC2
accent
#3AEE65
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A981A

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

Preview Lab → · Contrast checker → · Palette generator →

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