#7A952A#7A952A

#7A952A is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.8% C 0.135 H 122.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7A952A
RGBrgb(122, 149, 42)
HSLhsl(75, 56%, 37%)
HSVhsv(75, 72%, 58%)
CMYKcmyk(18.1%, 0%, 71.8%, 41.6%)
CIE-LABlab(57.85, -24.97, 50.55)
CIE-LCHlch(57.85, 56.38, 116.29°)
OKLaboklab(62.81% -0.0728 0.1133)
OKLCHoklch(62.81% 0.135 122.7)
XYZxyz(19.1916, 25.7996, 6.1588)
Luminance0.2580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A952A #452A95
analogous
#957A2A #7A952A #45952A
triadic
#7A952A #2A7A95 #952A7A
tetradic
#7A952A #2A957A #452A95 #952A45
square
#7A952A #2A957A #452A95 #952A45
split-complementary
#7A952A #2A4595 #7A2A95
monochromatic
#2C360F #53651D #7A952A #A1C537 #B8D466

Accessibility & contrast

On white

3.41
#7A952A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#7A952A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A952A
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A952A#FFFFFF#000000##000000
##7A952A1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C18
Deuteranopia (green-blind)
#9A8B33
Tritanopia (blue-blind)
#808D80
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7a952a;
/* rgb */ color: rgb(122, 149, 42);
/* oklch */ color: oklch(62.8% 0.135 122.7);
Tailwind
colors: {
  custom: {
    50: '#a3b46b',
    500: '#7a952a',
    950: '#000000',
  },
}
SCSS
$custom: #7a952a;
$custom-light: #a3b46b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a952a",
  "rgb": {
    "r": 122,
    "g": 149,
    "b": 42
  },
  "hsl": {
    "h": 75.14,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62809,
    "c": 0.13463,
    "h": 122.7
  },
  "luminance": 0.258
}

Semantic roles & 50–950 ramp

primary
#7A952A
secondary
#7761BA
accent
#48DF6F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7A952A

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

Preview Lab → · Contrast checker → · Palette generator →

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