#7FA052#7FA052

#7FA052 is a light, moderate yellow-green. Relative luminance 0.303; OKLCH L 66.3% C 0.112 H 128.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7FA052
RGBrgb(127, 160, 82)
HSLhsl(85, 32%, 47%)
HSVhsv(85, 49%, 63%)
CMYKcmyk(20.6%, 0%, 48.8%, 37.3%)
CIE-LABlab(61.88, -24.81, 36.77)
CIE-LCHlch(61.88, 44.35, 124.01°)
OKLaboklab(66.28% -0.069 0.0883)
OKLCHoklch(66.28% 0.112 128)
XYZxyz(22.8460, 30.2625, 12.6186)
Luminance0.3026 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA052 #7352A0
analogous
#A09A52 #7FA052 #58A052
triadic
#7FA052 #527FA0 #A0527F
tetradic
#7FA052 #52A09A #7352A0 #A05258
square
#7FA052 #52A09A #7352A0 #A05258
split-complementary
#7FA052 #5258A0 #9A52A0
monochromatic
#3F4F29 #5F783D #7FA052 #9DB976 #BACE9F

Accessibility & contrast

On white

2.98
#7FA052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#7FA052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA052
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA052#FFFFFF#000000##000000
##7FA0521.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7974B
Deuteranopia (green-blind)
#A29557
Tritanopia (blue-blind)
#829A8E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa052;
/* rgb */ color: rgb(127, 160, 82);
/* oklch */ color: oklch(66.3% 0.112 128.0);
Tailwind
colors: {
  custom: {
    50: '#a6bc84',
    500: '#7fa052',
    950: '#000000',
  },
}
SCSS
$custom: #7fa052;
$custom-light: #a6bc84;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa052",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 82
  },
  "hsl": {
    "h": 85.385,
    "s": 32.231,
    "l": 47.451
  },
  "oklch": {
    "l": 0.66278,
    "c": 0.11201,
    "h": 128
  },
  "luminance": 0.30263
}

Semantic roles & 50–950 ramp

primary
#7FA052
secondary
#A493BB
accent
#5FC88C
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA052

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

Preview Lab → · Contrast checker → · Palette generator →

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