#7F952F#7F952F

#7F952F is a light, vivid yellow-green. Relative luminance 0.262; OKLCH L 63.2% C 0.129 H 120.7°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7F952F
RGBrgb(127, 149, 47)
HSLhsl(73, 52%, 38%)
HSVhsv(73, 68%, 58%)
CMYKcmyk(14.8%, 0%, 68.5%, 41.6%)
CIE-LABlab(58.24, -22.53, 49.06)
CIE-LCHlch(58.24, 53.99, 114.67°)
OKLaboklab(63.23% -0.0659 0.1108)
OKLCHoklch(63.23% 0.129 120.7)
XYZxyz(20.0132, 26.2122, 6.6939)
Luminance0.2621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F952F #452F95
analogous
#95782F #7F952F #4C952F
triadic
#7F952F #2F7F95 #952F7F
tetradic
#7F952F #2F9578 #452F95 #952F4C
square
#7F952F #2F9578 #452F95 #952F4C
split-complementary
#7F952F #2F4C95 #782F95
monochromatic
#303812 #576620 #7F952F #A6C23F #BCD16D

Accessibility & contrast

On white

3.36
#7F952F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#7F952F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F952F
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F952F#FFFFFF#000000##000000
##7F952F1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C20
Deuteranopia (green-blind)
#9C8C37
Tritanopia (blue-blind)
#868D80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7f952f;
/* rgb */ color: rgb(127, 149, 47);
/* oklch */ color: oklch(63.2% 0.129 120.7);
Tailwind
colors: {
  custom: {
    50: '#a7b46d',
    500: '#7f952f',
    950: '#000000',
  },
}
SCSS
$custom: #7f952f;
$custom-light: #a7b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f952f",
  "rgb": {
    "r": 127,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 72.941,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63227,
    "c": 0.12891,
    "h": 120.7
  },
  "luminance": 0.26212
}

Semantic roles & 50–950 ramp

primary
#7F952F
secondary
#7967B8
accent
#4CDB6B
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F952F

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

Preview Lab → · Contrast checker → · Palette generator →

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