#7F9C2D#7F9C2D

#7F9C2D 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#7F9C2D
RGBrgb(127, 156, 45)
HSLhsl(76, 55%, 39%)
HSVhsv(76, 71%, 61%)
CMYKcmyk(18.6%, 0%, 71.2%, 38.8%)
CIE-LABlab(60.32, -26.14, 51.98)
CIE-LCHlch(60.32, 58.18, 116.70°)
OKLaboklab(64.9% -0.076 0.1166)
OKLCHoklch(64.9% 0.139 123.1)
XYZxyz(21.1148, 28.4783, 6.8666)
Luminance0.2848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9C2D #4A2D9C
analogous
#9C822D #7F9C2D #479C2D
triadic
#7F9C2D #2D7F9C #9C2D7F
tetradic
#7F9C2D #2D9C82 #4A2D9C #9C2D47
square
#7F9C2D #2D9C82 #4A2D9C #9C2D47
split-complementary
#7F9C2D #2D479C #822D9C
monochromatic
#323D12 #586D1F #7F9C2D #A4C83F #BAD56E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F9C2D#FFFFFF#000000##000000
##7F9C2D1.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)
#A5921B
Deuteranopia (green-blind)
#A19136
Tritanopia (blue-blind)
#859486
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7f9c2d;
/* rgb */ color: rgb(127, 156, 45);
/* oklch */ color: oklch(64.9% 0.139 123.1);
Tailwind
colors: {
  custom: {
    50: '#a7b96d',
    500: '#7f9c2d',
    950: '#000000',
  },
}
SCSS
$custom: #7f9c2d;
$custom-light: #a7b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9c2d",
  "rgb": {
    "r": 127,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 75.676,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.649,
    "c": 0.1392,
    "h": 123.1
  },
  "luminance": 0.28478
}

Semantic roles & 50–950 ramp

primary
#7F9C2D
secondary
#7E68BC
accent
#49DF70
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F9C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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