#7F9B22#7F9B22

#7F9B22 is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.6% C 0.145 H 122.3°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7F9B22
RGBrgb(127, 155, 34)
HSLhsl(74, 64%, 37%)
HSVhsv(74, 78%, 61%)
CMYKcmyk(18.1%, 0%, 78.1%, 39.2%)
CIE-LABlab(59.95, -26.25, 55.54)
CIE-LCHlch(59.95, 61.43, 115.30°)
OKLaboklab(64.58% -0.0773 0.1223)
OKLCHoklch(64.58% 0.145 122.3)
XYZxyz(20.7628, 28.0701, 5.8373)
Luminance0.2807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9B22 #3E229B
analogous
#9B7A22 #7F9B22 #439B22
triadic
#7F9B22 #227F9B #9B227F
tetradic
#7F9B22 #229B7A #3E229B #9B2243
square
#7F9B22 #229B7A #3E229B #9B2243
split-complementary
#7F9B22 #22439B #7A229B
monochromatic
#2D370C #566917 #7F9B22 #A8CD2D #BEDB5C

Accessibility & contrast

On white

3.18
#7F9B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#7F9B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9B22
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9B22#FFFFFF#000000##000000
##7F9B221.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59101
Deuteranopia (green-blind)
#A1902E
Tritanopia (blue-blind)
#869384
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7f9b22;
/* rgb */ color: rgb(127, 155, 34);
/* oklch */ color: oklch(64.6% 0.145 122.3);
Tailwind
colors: {
  custom: {
    50: '#a8b868',
    500: '#7f9b22',
    950: '#000000',
  },
}
SCSS
$custom: #7f9b22;
$custom-light: #a8b868;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9b22",
  "rgb": {
    "r": 127,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 73.884,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64583,
    "c": 0.14465,
    "h": 122.3
  },
  "luminance": 0.2807
}

Semantic roles & 50–950 ramp

primary
#7F9B22
secondary
#7159C0
accent
#41E767
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F9B22

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

Preview Lab → · Contrast checker → · Palette generator →

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