#7F9B2E#7F9B2E

#7F9B2E is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.7% C 0.137 H 122.8°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7F9B2E
RGBrgb(127, 155, 46)
HSLhsl(75, 54%, 39%)
HSVhsv(75, 70%, 61%)
CMYKcmyk(18.1%, 0%, 70.3%, 39.2%)
CIE-LABlab(60.03, -25.58, 51.29)
CIE-LCHlch(60.03, 57.32, 116.51°)
OKLaboklab(64.67% -0.0744 0.1153)
OKLCHoklch(64.67% 0.137 122.8)
XYZxyz(20.9671, 28.1519, 6.9135)
Luminance0.2815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9B2E #4A2E9B
analogous
#9B812E #7F9B2E #499B2E
triadic
#7F9B2E #2E7F9B #9B2E7F
tetradic
#7F9B2E #2E9B81 #4A2E9B #9B2E49
square
#7F9B2E #2E9B81 #4A2E9B #9B2E49
split-complementary
#7F9B2E #2E499B #812E9B
monochromatic
#323D12 #586C20 #7F9B2E #A4C640 #BAD46F

Accessibility & contrast

On white

3.17
#7F9B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#7F9B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9B2E
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9B2E#FFFFFF#000000##000000
##7F9B2E1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4911D
Deuteranopia (green-blind)
#A09137
Tritanopia (blue-blind)
#859385
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7f9b2e;
/* rgb */ color: rgb(127, 155, 46);
/* oklch */ color: oklch(64.7% 0.137 122.8);
Tailwind
colors: {
  custom: {
    50: '#a7b86e',
    500: '#7f9b2e',
    950: '#000000',
  },
}
SCSS
$custom: #7f9b2e;
$custom-light: #a7b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9b2e",
  "rgb": {
    "r": 127,
    "g": 155,
    "b": 46
  },
  "hsl": {
    "h": 75.413,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64666,
    "c": 0.13725,
    "h": 122.8
  },
  "luminance": 0.28152
}

Semantic roles & 50–950 ramp

primary
#7F9B2E
secondary
#7E69BC
accent
#4ADE70
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F9B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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