#7A952F#7A952F

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

Color values

HEX#7A952F
RGBrgb(122, 149, 47)
HSLhsl(76, 52%, 38%)
HSVhsv(76, 68%, 58%)
CMYKcmyk(18.1%, 0%, 68.5%, 41.6%)
CIE-LABlab(57.88, -24.64, 48.58)
CIE-LCHlch(57.88, 54.47, 116.90°)
OKLaboklab(62.85% -0.0714 0.1099)
OKLCHoklch(62.85% 0.131 123)
XYZxyz(19.2868, 25.8376, 6.6599)
Luminance0.2584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A952F #4A2F95
analogous
#957D2F #7A952F #47952F
triadic
#7A952F #2F7A95 #952F7A
tetradic
#7A952F #2F957D #4A2F95 #952F47
square
#7A952F #2F957D #4A2F95 #952F47
split-complementary
#7A952F #2F4795 #7D2F95
monochromatic
#2E3812 #546620 #7A952F #A0C23F #B7D16D

Accessibility & contrast

On white

3.40
#7A952F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#7A952F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A952F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A952F#FFFFFF#000000##000000
##7A952F1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C20
Deuteranopia (green-blind)
#9A8B37
Tritanopia (blue-blind)
#808E80
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7a952f;
/* rgb */ color: rgb(122, 149, 47);
/* oklch */ color: oklch(62.8% 0.131 123.0);
Tailwind
colors: {
  custom: {
    50: '#a3b46d',
    500: '#7a952f',
    950: '#000000',
  },
}
SCSS
$custom: #7a952f;
$custom-light: #a3b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a952f",
  "rgb": {
    "r": 122,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 75.882,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6285,
    "c": 0.13108,
    "h": 123
  },
  "luminance": 0.25838
}

Semantic roles & 50–950 ramp

primary
#7A952F
secondary
#7D67B8
accent
#4CDB72
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7A952F

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

Preview Lab → · Contrast checker → · Palette generator →

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