#7F952A#7F952A

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

Color values

HEX#7F952A
RGBrgb(127, 149, 42)
HSLhsl(72, 56%, 37%)
HSVhsv(72, 72%, 58%)
CMYKcmyk(14.8%, 0%, 71.8%, 41.6%)
CIE-LABlab(58.20, -22.85, 51.02)
CIE-LCHlch(58.20, 55.90, 114.12°)
OKLaboklab(63.19% -0.0672 0.1141)
OKLCHoklch(63.19% 0.132 120.5)
XYZxyz(19.9181, 26.1741, 6.1928)
Luminance0.2617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F952A #402A95
analogous
#95752A #7F952A #4A952A
triadic
#7F952A #2A7F95 #952A7F
tetradic
#7F952A #2A9575 #402A95 #952A4A
square
#7F952A #2A9575 #402A95 #952A4A
split-complementary
#7F952A #2A4A95 #752A95
monochromatic
#2E360F #56651D #7F952A #A8C537 #BDD466

Accessibility & contrast

On white

3.37
#7F952A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#7F952A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F952A
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F952A#FFFFFF#000000##000000
##7F952A1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f952a;
/* rgb */ color: rgb(127, 149, 42);
/* oklch */ color: oklch(63.2% 0.132 120.5);
Tailwind
colors: {
  custom: {
    50: '#a7b46b',
    500: '#7f952a',
    950: '#000000',
  },
}
SCSS
$custom: #7f952a;
$custom-light: #a7b46b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f952a",
  "rgb": {
    "r": 127,
    "g": 149,
    "b": 42
  },
  "hsl": {
    "h": 72.336,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63186,
    "c": 0.13245,
    "h": 120.5
  },
  "luminance": 0.26174
}

Semantic roles & 50–950 ramp

primary
#7F952A
secondary
#7361BA
accent
#48DF67
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F952A

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

Preview Lab → · Contrast checker → · Palette generator →

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