#7FA752#7FA752

#7FA752 is a light, vivid yellow-green. Relative luminance 0.328; OKLCH L 68.0% C 0.122 H 129.9°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7FA752
RGBrgb(127, 167, 82)
HSLhsl(88, 34%, 49%)
HSVhsv(88, 51%, 65%)
CMYKcmyk(24%, 0%, 50.9%, 34.5%)
CIE-LABlab(63.96, -28.23, 39.30)
CIE-LCHlch(63.96, 48.39, 125.69°)
OKLaboklab(67.96% -0.0785 0.0939)
OKLCHoklch(67.96% 0.122 129.9)
XYZxyz(24.0938, 32.7581, 13.0346)
Luminance0.3276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA752 #7A52A7
analogous
#A7A552 #7FA752 #55A752
triadic
#7FA752 #527FA7 #A7527F
tetradic
#7FA752 #52A7A5 #7A52A7 #A75255
square
#7FA752 #52A7A5 #7A52A7 #A75255
split-complementary
#7FA752 #5255A7 #A552A7
monochromatic
#41552A #607E3E #7FA752 #9DBD79 #BBD1A2

Accessibility & contrast

On white

2.78
#7FA752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#7FA752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA752
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA752#FFFFFF#000000##000000
##7FA7521.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D4A
Deuteranopia (green-blind)
#A89A57
Tritanopia (blue-blind)
#82A193
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa752;
/* rgb */ color: rgb(127, 167, 82);
/* oklch */ color: oklch(68.0% 0.122 129.9);
Tailwind
colors: {
  custom: {
    50: '#a6c185',
    500: '#7fa752',
    950: '#000000',
  },
}
SCSS
$custom: #7fa752;
$custom-light: #a6c185;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa752",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 82
  },
  "hsl": {
    "h": 88.235,
    "s": 34.137,
    "l": 48.824
  },
  "oklch": {
    "l": 0.67961,
    "c": 0.12236,
    "h": 129.9
  },
  "luminance": 0.32759
}

Semantic roles & 50–950 ramp

primary
#7FA752
secondary
#A996BF
accent
#5ECA91
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA752

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

Preview Lab → · Contrast checker → · Palette generator →

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