#7FA952#7FA952

#7FA952 is a light, vivid yellow-green. Relative luminance 0.335; OKLCH L 68.4% C 0.125 H 130.4°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7FA952
RGBrgb(127, 169, 82)
HSLhsl(89, 35%, 49%)
HSVhsv(89, 51%, 66%)
CMYKcmyk(24.9%, 0%, 51.5%, 33.7%)
CIE-LABlab(64.56, -29.20, 40.02)
CIE-LCHlch(64.56, 49.54, 126.11°)
OKLaboklab(68.44% -0.0812 0.0954)
OKLCHoklch(68.44% 0.125 130.4)
XYZxyz(24.4631, 33.4966, 13.1576)
Luminance0.3350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA952 #7C52A9
analogous
#A9A852 #7FA952 #54A952
triadic
#7FA952 #527FA9 #A9527F
tetradic
#7FA952 #52A9A8 #7C52A9 #A95254
square
#7FA952 #52A9A8 #7C52A9 #A95254
split-complementary
#7FA952 #5254A9 #A852A9
monochromatic
#41572A #60803E #7FA952 #9DBE7A #BCD2A3

Accessibility & contrast

On white

2.73
#7FA952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#7FA952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA952
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA952#FFFFFF#000000##000000
##7FA9521.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F4A
Deuteranopia (green-blind)
#AA9C57
Tritanopia (blue-blind)
#81A395
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7fa952;
/* rgb */ color: rgb(127, 169, 82);
/* oklch */ color: oklch(68.4% 0.125 130.4);
Tailwind
colors: {
  custom: {
    50: '#a6c285',
    500: '#7fa952',
    950: '#000000',
  },
}
SCSS
$custom: #7fa952;
$custom-light: #a6c285;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa952",
  "rgb": {
    "r": 127,
    "g": 169,
    "b": 82
  },
  "hsl": {
    "h": 88.966,
    "s": 34.661,
    "l": 49.216
  },
  "oklch": {
    "l": 0.68443,
    "c": 0.1253,
    "h": 130.4
  },
  "luminance": 0.33497
}

Semantic roles & 50–950 ramp

primary
#7FA952
secondary
#AB97C0
accent
#5DCB92
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #7FA952

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

Preview Lab → · Contrast checker → · Palette generator →

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