#7FA52D#7FA52D

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

Color values

HEX#7FA52D
RGBrgb(127, 165, 45)
HSLhsl(79, 57%, 41%)
HSVhsv(79, 73%, 65%)
CMYKcmyk(23%, 0%, 72.7%, 35.3%)
CIE-LABlab(63.02, -30.47, 54.66)
CIE-LCHlch(63.02, 62.59, 119.14°)
OKLaboklab(67.09% -0.0879 0.1223)
OKLCHoklch(67.09% 0.151 125.7)
XYZxyz(22.6813, 31.6114, 7.3888)
Luminance0.3161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA52D #532DA5
analogous
#A58F2D #7FA52D #43A52D
triadic
#7FA52D #2D7FA5 #A52D7F
tetradic
#7FA52D #2DA58F #532DA5 #A52D43
square
#7FA52D #2DA58F #532DA5 #A52D43
split-complementary
#7FA52D #2D43A5 #8F2DA5
monochromatic
#354513 #5A7520 #7FA52D #A1CC43 #B9D973

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA52D#FFFFFF#000000##000000
##7FA52D1.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)
#AE9A17
Deuteranopia (green-blind)
#A99838
Tritanopia (blue-blind)
#859D8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa52d;
/* rgb */ color: rgb(127, 165, 45);
/* oklch */ color: oklch(67.1% 0.151 125.7);
Tailwind
colors: {
  custom: {
    50: '#a8bf6e',
    500: '#7fa52d',
    950: '#000000',
  },
}
SCSS
$custom: #7fa52d;
$custom-light: #a8bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa52d",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 45
  },
  "hsl": {
    "h": 79,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67086,
    "c": 0.1506,
    "h": 125.7
  },
  "luminance": 0.31612
}

Semantic roles & 50–950 ramp

primary
#7FA52D
secondary
#886DC1
accent
#47E078
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA52D

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

Preview Lab → · Contrast checker → · Palette generator →

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