#7A952D#7A952D

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

Color values

HEX#7A952D
RGBrgb(122, 149, 45)
HSLhsl(76, 54%, 38%)
HSVhsv(76, 70%, 58%)
CMYKcmyk(18.1%, 0%, 69.8%, 41.6%)
CIE-LABlab(57.87, -24.78, 49.38)
CIE-LCHlch(57.87, 55.25, 116.64°)
OKLaboklab(62.83% -0.072 0.1113)
OKLCHoklch(62.83% 0.133 122.9)
XYZxyz(19.2474, 25.8218, 6.4522)
Luminance0.2582 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A952D #482D95
analogous
#957C2D #7A952D #46952D
triadic
#7A952D #2D7A95 #952D7A
tetradic
#7A952D #2D957C #482D95 #952D46
square
#7A952D #2D957C #482D95 #952D46
split-complementary
#7A952D #2D4695 #7C2D95
monochromatic
#2D3711 #54661F #7A952D #A0C43B #B7D26A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A952D#FFFFFF#000000##000000
##7A952D1.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)
#9E8C1D
Deuteranopia (green-blind)
#9A8B35
Tritanopia (blue-blind)
#808D80
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7a952d;
/* rgb */ color: rgb(122, 149, 45);
/* oklch */ color: oklch(62.8% 0.133 122.9);
Tailwind
colors: {
  custom: {
    50: '#a3b46c',
    500: '#7a952d',
    950: '#000000',
  },
}
SCSS
$custom: #7a952d;
$custom-light: #a3b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a952d",
  "rgb": {
    "r": 122,
    "g": 149,
    "b": 45
  },
  "hsl": {
    "h": 75.577,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62833,
    "c": 0.13254,
    "h": 122.9
  },
  "luminance": 0.25822
}

Semantic roles & 50–950 ramp

primary
#7A952D
secondary
#7B65B9
accent
#4BDD71
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7A952D

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

Preview Lab → · Contrast checker → · Palette generator →

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