#7F952E#7F952E

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

Color values

HEX#7F952E
RGBrgb(127, 149, 46)
HSLhsl(73, 53%, 38%)
HSVhsv(73, 69%, 58%)
CMYKcmyk(14.8%, 0%, 69.1%, 41.6%)
CIE-LABlab(58.23, -22.60, 49.46)
CIE-LCHlch(58.23, 54.38, 114.55°)
OKLaboklab(63.22% -0.0661 0.1115)
OKLCHoklch(63.22% 0.13 120.7)
XYZxyz(19.9933, 26.2042, 6.5889)
Luminance0.2620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F952E #442E95
analogous
#95782E #7F952E #4B952E
triadic
#7F952E #2E7F95 #952E7F
tetradic
#7F952E #2E9578 #442E95 #952E4B
square
#7F952E #2E9578 #442E95 #952E4B
split-complementary
#7F952E #2E4B95 #782E95
monochromatic
#2F3711 #576620 #7F952E #A6C33D #BCD26C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F952E#FFFFFF#000000##000000
##7F952E1.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)
#9E8C1F
Deuteranopia (green-blind)
#9C8C36
Tritanopia (blue-blind)
#868D80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7f952e;
/* rgb */ color: rgb(127, 149, 46);
/* oklch */ color: oklch(63.2% 0.130 120.7);
Tailwind
colors: {
  custom: {
    50: '#a7b46d',
    500: '#7f952e',
    950: '#000000',
  },
}
SCSS
$custom: #7f952e;
$custom-light: #a7b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f952e",
  "rgb": {
    "r": 127,
    "g": 149,
    "b": 46
  },
  "hsl": {
    "h": 72.816,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63218,
    "c": 0.12965,
    "h": 120.7
  },
  "luminance": 0.26204
}

Semantic roles & 50–950 ramp

primary
#7F952E
secondary
#7866B9
accent
#4CDC6A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F952E

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

Preview Lab → · Contrast checker → · Palette generator →

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