#7F9A22#7F9A22

#7F9A22 is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 64.3% C 0.143 H 122.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7F9A22
RGBrgb(127, 154, 34)
HSLhsl(74, 64%, 37%)
HSVhsv(74, 78%, 60%)
CMYKcmyk(17.5%, 0%, 77.9%, 39.6%)
CIE-LABlab(59.65, -25.76, 55.26)
CIE-LCHlch(59.65, 60.97, 114.99°)
OKLaboklab(64.34% -0.0759 0.1217)
OKLCHoklch(64.34% 0.143 122)
XYZxyz(20.5971, 27.7387, 5.7821)
Luminance0.2774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9A22 #3D229A
analogous
#9A7922 #7F9A22 #439A22
triadic
#7F9A22 #227F9A #9A227F
tetradic
#7F9A22 #229A79 #3D229A #9A2243
square
#7F9A22 #229A79 #3D229A #9A2243
split-complementary
#7F9A22 #22439A #79229A
monochromatic
#2C360C #566817 #7F9A22 #A8CC2D #BEDB5B

Accessibility & contrast

On white

3.21
#7F9A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#7F9A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9A22
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9A22#FFFFFF#000000##000000
##7F9A221.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49002
Deuteranopia (green-blind)
#A0902E
Tritanopia (blue-blind)
#869284
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7f9a22;
/* rgb */ color: rgb(127, 154, 34);
/* oklch */ color: oklch(64.3% 0.143 122.0);
Tailwind
colors: {
  custom: {
    50: '#a8b767',
    500: '#7f9a22',
    950: '#000000',
  },
}
SCSS
$custom: #7f9a22;
$custom-light: #a8b767;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9a22",
  "rgb": {
    "r": 127,
    "g": 154,
    "b": 34
  },
  "hsl": {
    "h": 73.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6434,
    "c": 0.14343,
    "h": 122
  },
  "luminance": 0.27739
}

Semantic roles & 50–950 ramp

primary
#7F9A22
secondary
#7058BF
accent
#41E766
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F9A22

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

Preview Lab → · Contrast checker → · Palette generator →

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