#7F951E#7F951E

#7F951E is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 63.1% C 0.140 H 120.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7F951E
RGBrgb(127, 149, 30)
HSLhsl(71, 66%, 35%)
HSVhsv(71, 80%, 58%)
CMYKcmyk(14.8%, 0%, 79.9%, 41.6%)
CIE-LABlab(58.13, -23.46, 55.13)
CIE-LCHlch(58.13, 59.92, 113.05°)
OKLaboklab(63.11% -0.0699 0.1207)
OKLCHoklch(63.11% 0.14 120.1)
XYZxyz(19.7346, 26.1007, 5.2263)
Luminance0.2610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F951E #341E95
analogous
#956F1E #7F951E #44951E
triadic
#7F951E #1E7F95 #951E7F
tetradic
#7F951E #1E956F #341E95 #951E44
square
#7F951E #1E956F #341E95 #951E44
split-complementary
#7F951E #1E4495 #6F1E95
monochromatic
#282F09 #546214 #7F951E #AAC828 #C2DC51

Accessibility & contrast

On white

3.38
#7F951E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#7F951E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F951E
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F951E#FFFFFF#000000##000000
##7F951E1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9C8C2A
Tritanopia (blue-blind)
#878D7F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7f951e;
/* rgb */ color: rgb(127, 149, 30);
/* oklch */ color: oklch(63.1% 0.140 120.1);
Tailwind
colors: {
  custom: {
    50: '#a8b465',
    500: '#7f951e',
    950: '#000000',
  },
}
SCSS
$custom: #7f951e;
$custom-light: #a8b465;
$custom-dark: #000000;
JSON
{
  "hex": "#7f951e",
  "rgb": {
    "r": 127,
    "g": 149,
    "b": 30
  },
  "hsl": {
    "h": 71.092,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63108,
    "c": 0.13951,
    "h": 120.1
  },
  "luminance": 0.26101
}

Semantic roles & 50–950 ramp

primary
#7F951E
secondary
#6450BF
accent
#3EE95E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F951E

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

Preview Lab → · Contrast checker → · Palette generator →

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