#7FA32B#7FA32B

#7FA32B 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#7FA32B
RGBrgb(127, 163, 43)
HSLhsl(78, 58%, 40%)
HSVhsv(78, 74%, 64%)
CMYKcmyk(22.1%, 0%, 73.6%, 36.1%)
CIE-LABlab(62.41, -29.64, 54.79)
CIE-LCHlch(62.41, 62.30, 118.41°)
OKLaboklab(66.59% -0.0858 0.1222)
OKLCHoklch(66.59% 0.149 125.1)
XYZxyz(22.2858, 30.8806, 7.0715)
Luminance0.3088 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA32B #4F2BA3
analogous
#A38B2B #7FA32B #43A32B
triadic
#7FA32B #2B7FA3 #A32B7F
tetradic
#7FA32B #2BA38B #4F2BA3 #A32B43
square
#7FA32B #2BA38B #4F2BA3 #A32B43
split-complementary
#7FA32B #2B43A3 #8B2BA3
monochromatic
#344211 #59731E #7FA32B #A2CC3F #B9D96F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA32B#FFFFFF#000000##000000
##7FA32B1.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)
#AC9814
Deuteranopia (green-blind)
#A79636
Tritanopia (blue-blind)
#859B8C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa32b;
/* rgb */ color: rgb(127, 163, 43);
/* oklch */ color: oklch(66.6% 0.149 125.1);
Tailwind
colors: {
  custom: {
    50: '#a8be6d',
    500: '#7fa32b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa32b;
$custom-light: #a8be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa32b",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 43
  },
  "hsl": {
    "h": 78,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66585,
    "c": 0.14933,
    "h": 125.1
  },
  "luminance": 0.30881
}

Semantic roles & 50–950 ramp

primary
#7FA32B
secondary
#846AC0
accent
#46E175
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA32B

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

Preview Lab → · Contrast checker → · Palette generator →

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