#7F9220#7F9220

#7F9220 is a light, vivid yellow-green. Relative luminance 0.252; OKLCH L 62.4% C 0.135 H 119.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7F9220
RGBrgb(127, 146, 32)
HSLhsl(70, 64%, 35%)
HSVhsv(70, 78%, 57%)
CMYKcmyk(13%, 0%, 78.1%, 42.7%)
CIE-LABlab(57.24, -21.86, 53.68)
CIE-LCHlch(57.24, 57.96, 112.16°)
OKLaboklab(62.4% -0.0654 0.118)
OKLCHoklch(62.4% 0.135 119)
XYZxyz(19.2924, 25.1742, 5.2090)
Luminance0.2517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9220 #332092
analogous
#926C20 #7F9220 #469220
triadic
#7F9220 #207F92 #92207F
tetradic
#7F9220 #20926C #332092 #922046
square
#7F9220 #20926C #332092 #922046
split-complementary
#7F9220 #204692 #6C2092
monochromatic
#282E0A #536015 #7F9220 #ABC42B #C3D953

Accessibility & contrast

On white

3.48
#7F9220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#7F9220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9220
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9220#FFFFFF#000000##000000
##7F92201.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8902
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#878A7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7f9220;
/* rgb */ color: rgb(127, 146, 32);
/* oklch */ color: oklch(62.4% 0.135 119.0);
Tailwind
colors: {
  custom: {
    50: '#a7b166',
    500: '#7f9220',
    950: '#000000',
  },
}
SCSS
$custom: #7f9220;
$custom-light: #a7b166;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9220",
  "rgb": {
    "r": 127,
    "g": 146,
    "b": 32
  },
  "hsl": {
    "h": 70,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62396,
    "c": 0.13491,
    "h": 119
  },
  "luminance": 0.25174
}

Semantic roles & 50–950 ramp

primary
#7F9220
secondary
#6351BD
accent
#41E75C
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7F9220

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

Preview Lab → · Contrast checker → · Palette generator →

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