#7F951D#7F951D

#7F951D 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#7F951D
RGBrgb(127, 149, 29)
HSLhsl(71, 67%, 35%)
HSVhsv(71, 81%, 58%)
CMYKcmyk(14.8%, 0%, 80.5%, 41.6%)
CIE-LABlab(58.13, -23.51, 55.43)
CIE-LCHlch(58.13, 60.21, 112.98°)
OKLaboklab(63.1% -0.0701 0.1212)
OKLCHoklch(63.1% 0.14 120.1)
XYZxyz(19.7220, 26.0957, 5.1602)
Luminance0.2610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F951D #331D95
analogous
#956F1D #7F951D #43951D
triadic
#7F951D #1D7F95 #951D7F
tetradic
#7F951D #1D956F #331D95 #951D43
square
#7F951D #1D956F #331D95 #951D43
split-complementary
#7F951D #1D4395 #6F1D95
monochromatic
#282F09 #536213 #7F951D #ABC827 #C3DD50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F951D#FFFFFF#000000##000000
##7F951D1.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)
#9C8C29
Tritanopia (blue-blind)
#878D7F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7f951d;
/* rgb */ color: rgb(127, 149, 29);
/* oklch */ color: oklch(63.1% 0.140 120.1);
Tailwind
colors: {
  custom: {
    50: '#a8b465',
    500: '#7f951d',
    950: '#000000',
  },
}
SCSS
$custom: #7f951d;
$custom-light: #a8b465;
$custom-dark: #000000;
JSON
{
  "hex": "#7f951d",
  "rgb": {
    "r": 127,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 71,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63103,
    "c": 0.14001,
    "h": 120.1
  },
  "luminance": 0.26096
}

Semantic roles & 50–950 ramp

primary
#7F951D
secondary
#634EC0
accent
#3DEA5D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F951D

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

Preview Lab → · Contrast checker → · Palette generator →

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