#7F9A20#7F9A20

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

Color values

HEX#7F9A20
RGBrgb(127, 154, 32)
HSLhsl(73, 66%, 36%)
HSVhsv(73, 79%, 60%)
CMYKcmyk(17.5%, 0%, 79.2%, 39.6%)
CIE-LABlab(59.64, -25.85, 55.89)
CIE-LCHlch(59.64, 61.58, 114.82°)
OKLaboklab(64.33% -0.0763 0.1227)
OKLCHoklch(64.33% 0.144 121.9)
XYZxyz(20.5690, 27.7275, 5.6345)
Luminance0.2773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9A20 #3B209A
analogous
#9A7820 #7F9A20 #429A20
triadic
#7F9A20 #207F9A #9A207F
tetradic
#7F9A20 #209A78 #3B209A #9A2042
square
#7F9A20 #209A78 #3B209A #9A2042
split-complementary
#7F9A20 #20429A #78209A
monochromatic
#2B350B #556715 #7F9A20 #A9CD2B #BFDC58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F9A20#FFFFFF#000000##000000
##7F9A201.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)
#A49000
Deuteranopia (green-blind)
#A0902C
Tritanopia (blue-blind)
#869283
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7f9a20;
/* rgb */ color: rgb(127, 154, 32);
/* oklch */ color: oklch(64.3% 0.144 121.9);
Tailwind
colors: {
  custom: {
    50: '#a8b767',
    500: '#7f9a20',
    950: '#000000',
  },
}
SCSS
$custom: #7f9a20;
$custom-light: #a8b767;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9a20",
  "rgb": {
    "r": 127,
    "g": 154,
    "b": 32
  },
  "hsl": {
    "h": 73.279,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64329,
    "c": 0.14448,
    "h": 121.9
  },
  "luminance": 0.27728
}

Semantic roles & 50–950 ramp

primary
#7F9A20
secondary
#6D56C0
accent
#3FE965
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9A20

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

Preview Lab → · Contrast checker → · Palette generator →

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