#7FA932#7FA932

#7FA932 is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 68.1% C 0.152 H 127.0°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7FA932
RGBrgb(127, 169, 50)
HSLhsl(81, 54%, 43%)
HSVhsv(81, 70%, 66%)
CMYKcmyk(24.9%, 0%, 70.4%, 33.7%)
CIE-LABlab(64.26, -32.04, 54.02)
CIE-LCHlch(64.26, 62.80, 120.68°)
OKLaboklab(68.1% -0.0918 0.1217)
OKLCHoklch(68.1% 0.152 127)
XYZxyz(23.5161, 33.1178, 8.1704)
Luminance0.3312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA932 #5C32A9
analogous
#A99732 #7FA932 #44A932
triadic
#7FA932 #327FA9 #A9327F
tetradic
#7FA932 #32A997 #5C32A9 #A93244
square
#7FA932 #32A997 #5C32A9 #A93244
split-complementary
#7FA932 #3244A9 #9732A9
monochromatic
#384B16 #5C7A24 #7FA932 #9ECB4E #B8D97D

Accessibility & contrast

On white

2.75
#7FA932 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#7FA932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA932
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA932#FFFFFF#000000##000000
##7FA9321.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D1F
Deuteranopia (green-blind)
#AC9B3C
Tritanopia (blue-blind)
#84A191
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7fa932;
/* rgb */ color: rgb(127, 169, 50);
/* oklch */ color: oklch(68.1% 0.152 127.0);
Tailwind
colors: {
  custom: {
    50: '#a8c271',
    500: '#7fa932',
    950: '#000000',
  },
}
SCSS
$custom: #7fa932;
$custom-light: #a8c271;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa932",
  "rgb": {
    "r": 127,
    "g": 169,
    "b": 50
  },
  "hsl": {
    "h": 81.176,
    "s": 54.338,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68098,
    "c": 0.15242,
    "h": 127
  },
  "luminance": 0.33118
}

Semantic roles & 50–950 ramp

primary
#7FA932
secondary
#9076C1
accent
#4ADE7E
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA932

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

Preview Lab → · Contrast checker → · Palette generator →

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