#7B952A#7B952A

#7B952A is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.9% C 0.134 H 122.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7B952A
RGBrgb(123, 149, 42)
HSLhsl(75, 56%, 37%)
HSVhsv(75, 72%, 58%)
CMYKcmyk(17.4%, 0%, 71.8%, 41.6%)
CIE-LABlab(57.92, -24.55, 50.64)
CIE-LCHlch(57.92, 56.28, 115.86°)
OKLaboklab(62.88% -0.0717 0.1134)
OKLCHoklch(62.88% 0.134 122.3)
XYZxyz(19.3340, 25.8730, 6.1655)
Luminance0.2587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B952A #442A95
analogous
#95792A #7B952A #46952A
triadic
#7B952A #2A7B95 #952A7B
tetradic
#7B952A #2A9579 #442A95 #952A46
square
#7B952A #2A9579 #442A95 #952A46
split-complementary
#7B952A #2A4695 #792A95
monochromatic
#2C360F #54651D #7B952A #A2C537 #B9D466

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B952A#FFFFFF#000000##000000
##7B952A1.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)
#9E8C18
Deuteranopia (green-blind)
#9B8B33
Tritanopia (blue-blind)
#828D80
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7b952a;
/* rgb */ color: rgb(123, 149, 42);
/* oklch */ color: oklch(62.9% 0.134 122.3);
Tailwind
colors: {
  custom: {
    50: '#a4b46b',
    500: '#7b952a',
    950: '#000000',
  },
}
SCSS
$custom: #7b952a;
$custom-light: #a4b46b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b952a",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 42
  },
  "hsl": {
    "h": 74.579,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62883,
    "c": 0.13418,
    "h": 122.3
  },
  "luminance": 0.25873
}

Semantic roles & 50–950 ramp

primary
#7B952A
secondary
#7761BA
accent
#48DF6D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B952A

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

Preview Lab → · Contrast checker → · Palette generator →

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