#7F951C#7F951C

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

Color values

HEX#7F951C
RGBrgb(127, 149, 28)
HSLhsl(71, 68%, 35%)
HSVhsv(71, 81%, 58%)
CMYKcmyk(14.8%, 0%, 81.2%, 41.6%)
CIE-LABlab(58.12, -23.55, 55.72)
CIE-LCHlch(58.12, 60.49, 112.91°)
OKLaboklab(63.1% -0.0703 0.1216)
OKLCHoklch(63.1% 0.14 120)
XYZxyz(19.7098, 26.0908, 5.0961)
Luminance0.2609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F951C #321C95
analogous
#956F1C #7F951C #43951C
triadic
#7F951C #1C7F95 #951C7F
tetradic
#7F951C #1C956F #321C95 #951C43
square
#7F951C #1C956F #321C95 #951C43
split-complementary
#7F951C #1C4395 #6F1C95
monochromatic
#272E09 #536112 #7F951C #ABC926 #C4DE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7f951c;
/* rgb */ color: rgb(127, 149, 28);
/* oklch */ color: oklch(63.1% 0.140 120.0);
Tailwind
colors: {
  custom: {
    50: '#a8b464',
    500: '#7f951c',
    950: '#000000',
  },
}
SCSS
$custom: #7f951c;
$custom-light: #a8b464;
$custom-dark: #000000;
JSON
{
  "hex": "#7f951c",
  "rgb": {
    "r": 127,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 70.909,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.63097,
    "c": 0.14049,
    "h": 120
  },
  "luminance": 0.26091
}

Semantic roles & 50–950 ramp

primary
#7F951C
secondary
#624DC0
accent
#3DEB5C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F951C

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

Preview Lab → · Contrast checker → · Palette generator →

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