#7FA52B#7FA52B

#7FA52B is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.1% C 0.152 H 125.6°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7FA52B
RGBrgb(127, 165, 43)
HSLhsl(79, 59%, 41%)
HSVhsv(79, 74%, 65%)
CMYKcmyk(23%, 0%, 73.9%, 35.3%)
CIE-LABlab(63.01, -30.59, 55.38)
CIE-LCHlch(63.01, 63.27, 118.92°)
OKLaboklab(67.07% -0.0884 0.1234)
OKLCHoklch(67.07% 0.152 125.6)
XYZxyz(22.6437, 31.5964, 7.1908)
Luminance0.3160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA52B #512BA5
analogous
#A58E2B #7FA52B #42A52B
triadic
#7FA52B #2B7FA5 #A52B7F
tetradic
#7FA52B #2BA58E #512BA5 #A52B42
square
#7FA52B #2BA58E #512BA5 #A52B42
split-complementary
#7FA52B #2B42A5 #8E2BA5
monochromatic
#344412 #5A741E #7FA52B #A1CD40 #B9DA71

Accessibility & contrast

On white

2.87
#7FA52B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#7FA52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA52B
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA52B#FFFFFF#000000##000000
##7FA52B1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A13
Deuteranopia (green-blind)
#A99836
Tritanopia (blue-blind)
#859D8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa52b;
/* rgb */ color: rgb(127, 165, 43);
/* oklch */ color: oklch(67.1% 0.152 125.6);
Tailwind
colors: {
  custom: {
    50: '#a8bf6d',
    500: '#7fa52b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa52b;
$custom-light: #a8bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa52b",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 43
  },
  "hsl": {
    "h": 78.689,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.67071,
    "c": 0.15183,
    "h": 125.6
  },
  "luminance": 0.31597
}

Semantic roles & 50–950 ramp

primary
#7FA52B
secondary
#866BC1
accent
#46E277
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA52B

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

Preview Lab → · Contrast checker → · Palette generator →

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