#7FA452#7FA452

#7FA452 is a light, moderate yellow-green. Relative luminance 0.317; OKLCH L 67.2% C 0.118 H 129.1°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7FA452
RGBrgb(127, 164, 82)
HSLhsl(87, 33%, 48%)
HSVhsv(87, 50%, 64%)
CMYKcmyk(22.6%, 0%, 50%, 35.7%)
CIE-LABlab(63.07, -26.78, 38.22)
CIE-LCHlch(63.07, 46.66, 125.02°)
OKLaboklab(67.24% -0.0744 0.0915)
OKLCHoklch(67.24% 0.118 129.1)
XYZxyz(23.5506, 31.6717, 12.8535)
Luminance0.3167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA452 #7752A4
analogous
#A4A052 #7FA452 #56A452
triadic
#7FA452 #527FA4 #A4527F
tetradic
#7FA452 #52A4A0 #7752A4 #A45256
square
#7FA452 #52A4A0 #7752A4 #A45256
split-complementary
#7FA452 #5256A4 #A052A4
monochromatic
#405229 #5F7B3E #7FA452 #9DBB78 #BBD0A1

Accessibility & contrast

On white

2.86
#7FA452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#7FA452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA452
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA452#FFFFFF#000000##000000
##7FA4521.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9A4B
Deuteranopia (green-blind)
#A59857
Tritanopia (blue-blind)
#829E91
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa452;
/* rgb */ color: rgb(127, 164, 82);
/* oklch */ color: oklch(67.2% 0.118 129.1);
Tailwind
colors: {
  custom: {
    50: '#a6bf84',
    500: '#7fa452',
    950: '#000000',
  },
}
SCSS
$custom: #7fa452;
$custom-light: #a6bf84;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa452",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 82
  },
  "hsl": {
    "h": 87.073,
    "s": 33.333,
    "l": 48.235
  },
  "oklch": {
    "l": 0.67239,
    "c": 0.11794,
    "h": 129.1
  },
  "luminance": 0.31672
}

Semantic roles & 50–950 ramp

primary
#7FA452
secondary
#A795BD
accent
#5EC98F
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA452

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

Preview Lab → · Contrast checker → · Palette generator →

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