#7FA32C#7FA32C

#7FA32C is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.6% C 0.149 H 125.1°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7FA32C
RGBrgb(127, 163, 44)
HSLhsl(78, 57%, 41%)
HSVhsv(78, 73%, 64%)
CMYKcmyk(22.1%, 0%, 73%, 36.1%)
CIE-LABlab(62.41, -29.58, 54.43)
CIE-LCHlch(62.41, 61.95, 118.52°)
OKLaboklab(66.59% -0.0856 0.1216)
OKLCHoklch(66.59% 0.149 125.1)
XYZxyz(22.3044, 30.8880, 7.1693)
Luminance0.3089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA32C #502CA3
analogous
#A38B2C #7FA32C #44A32C
triadic
#7FA32C #2C7FA3 #A32C7F
tetradic
#7FA32C #2CA38B #502CA3 #A32C44
square
#7FA32C #2CA38B #502CA3 #A32C44
split-complementary
#7FA32C #2C44A3 #8B2CA3
monochromatic
#344312 #59731F #7FA32C #A2CC41 #B9D971

Accessibility & contrast

On white

2.93
#7FA32C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#7FA32C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA32C
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA32C#FFFFFF#000000##000000
##7FA32C1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9816
Deuteranopia (green-blind)
#A79637
Tritanopia (blue-blind)
#859B8C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa32c;
/* rgb */ color: rgb(127, 163, 44);
/* oklch */ color: oklch(66.6% 0.149 125.1);
Tailwind
colors: {
  custom: {
    50: '#a8be6d',
    500: '#7fa32c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa32c;
$custom-light: #a8be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa32c",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 44
  },
  "hsl": {
    "h": 78.151,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66592,
    "c": 0.14871,
    "h": 125.1
  },
  "luminance": 0.30888
}

Semantic roles & 50–950 ramp

primary
#7FA32C
secondary
#856BC0
accent
#47E176
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA32C

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

Preview Lab → · Contrast checker → · Palette generator →

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