#7F951A#7F951A

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

Color values

HEX#7F951A
RGBrgb(127, 149, 26)
HSLhsl(71, 70%, 34%)
HSVhsv(71, 83%, 58%)
CMYKcmyk(14.8%, 0%, 82.6%, 41.6%)
CIE-LABlab(58.11, -23.62, 56.29)
CIE-LCHlch(58.11, 61.04, 112.77°)
OKLaboklab(63.09% -0.0707 0.1225)
OKLCHoklch(63.09% 0.141 120)
XYZxyz(19.6867, 26.0816, 4.9742)
Luminance0.2608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F951A #301A95
analogous
#956E1A #7F951A #41951A
triadic
#7F951A #1A7F95 #951A7F
tetradic
#7F951A #1A956E #301A95 #951A41
square
#7F951A #1A956E #301A95 #951A41
split-complementary
#7F951A #1A4195 #6E1A95
monochromatic
#262D08 #536111 #7F951A #ABC923 #C5DF4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7f951a;
/* rgb */ color: rgb(127, 149, 26);
/* oklch */ color: oklch(63.1% 0.141 120.0);
Tailwind
colors: {
  custom: {
    50: '#a8b463',
    500: '#7f951a',
    950: '#000000',
  },
}
SCSS
$custom: #7f951a;
$custom-light: #a8b463;
$custom-dark: #000000;
JSON
{
  "hex": "#7f951a",
  "rgb": {
    "r": 127,
    "g": 149,
    "b": 26
  },
  "hsl": {
    "h": 70.732,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.63088,
    "c": 0.14141,
    "h": 120
  },
  "luminance": 0.26081
}

Semantic roles & 50–950 ramp

primary
#7F951A
secondary
#5F4AC1
accent
#3BED5B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F951A

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

Preview Lab → · Contrast checker → · Palette generator →

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