#7F9C2E#7F9C2E

#7F9C2E is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.9% C 0.139 H 123.1°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7F9C2E
RGBrgb(127, 156, 46)
HSLhsl(76, 54%, 40%)
HSVhsv(76, 71%, 61%)
CMYKcmyk(18.6%, 0%, 70.5%, 38.8%)
CIE-LABlab(60.33, -26.07, 51.59)
CIE-LCHlch(60.33, 57.81, 116.81°)
OKLaboklab(64.91% -0.0757 0.116)
OKLCHoklch(64.91% 0.139 123.1)
XYZxyz(21.1342, 28.4861, 6.9692)
Luminance0.2849 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9C2E #4B2E9C
analogous
#9C822E #7F9C2E #489C2E
triadic
#7F9C2E #2E7F9C #9C2E7F
tetradic
#7F9C2E #2E9C82 #4B2E9C #9C2E48
square
#7F9C2E #2E9C82 #4B2E9C #9C2E48
split-complementary
#7F9C2E #2E489C #822E9C
monochromatic
#323D12 #596D20 #7F9C2E #A3C740 #BAD570

Accessibility & contrast

On white

3.14
#7F9C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#7F9C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9C2E
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9C2E#FFFFFF#000000##000000
##7F9C2E1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921C
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#859486
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7f9c2e;
/* rgb */ color: rgb(127, 156, 46);
/* oklch */ color: oklch(64.9% 0.139 123.1);
Tailwind
colors: {
  custom: {
    50: '#a7b96e',
    500: '#7f9c2e',
    950: '#000000',
  },
}
SCSS
$custom: #7f9c2e;
$custom-light: #a7b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9c2e",
  "rgb": {
    "r": 127,
    "g": 156,
    "b": 46
  },
  "hsl": {
    "h": 75.818,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64908,
    "c": 0.13853,
    "h": 123.1
  },
  "luminance": 0.28486
}

Semantic roles & 50–950 ramp

primary
#7F9C2E
secondary
#7F6ABC
accent
#4ADE71
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F9C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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