#7FA032#7FA032

#7FA032 is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.9% C 0.141 H 124.6°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7FA032
RGBrgb(127, 160, 50)
HSLhsl(78, 52%, 41%)
HSVhsv(78, 69%, 63%)
CMYKcmyk(20.6%, 0%, 68.8%, 37.3%)
CIE-LABlab(61.55, -27.76, 51.25)
CIE-LCHlch(61.55, 58.29, 118.44°)
OKLaboklab(65.91% -0.08 0.1159)
OKLCHoklch(65.91% 0.141 124.6)
XYZxyz(21.8991, 29.8837, 7.6314)
Luminance0.2988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA032 #5332A0
analogous
#A08A32 #7FA032 #48A032
triadic
#7FA032 #327FA0 #A0327F
tetradic
#7FA032 #32A08A #5332A0 #A03248
square
#7FA032 #32A08A #5332A0 #A03248
split-complementary
#7FA032 #3248A0 #8A32A0
monochromatic
#354315 #5A7123 #7FA032 #A1C649 #B9D578

Accessibility & contrast

On white

3.01
#7FA032 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#7FA032 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7FA032
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA032#FFFFFF#000000##000000
##7FA0321.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99622
Deuteranopia (green-blind)
#A4943B
Tritanopia (blue-blind)
#85988A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa032;
/* rgb */ color: rgb(127, 160, 50);
/* oklch */ color: oklch(65.9% 0.141 124.6);
Tailwind
colors: {
  custom: {
    50: '#a7bc70',
    500: '#7fa032',
    950: '#000000',
  },
}
SCSS
$custom: #7fa032;
$custom-light: #a7bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa032",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 50
  },
  "hsl": {
    "h": 78,
    "s": 52.381,
    "l": 41.176
  },
  "oklch": {
    "l": 0.6591,
    "c": 0.14082,
    "h": 124.6
  },
  "luminance": 0.29884
}

Semantic roles & 50–950 ramp

primary
#7FA032
secondary
#8871BD
accent
#4CDC77
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA032

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

Preview Lab → · Contrast checker → · Palette generator →

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