#7FA652#7FA652

#7FA652 is a light, vivid yellow-green. Relative luminance 0.324; OKLCH L 67.7% C 0.121 H 129.7°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7FA652
RGBrgb(127, 166, 82)
HSLhsl(88, 34%, 49%)
HSVhsv(88, 51%, 65%)
CMYKcmyk(23.5%, 0%, 50.6%, 34.9%)
CIE-LABlab(63.67, -27.75, 38.94)
CIE-LCHlch(63.67, 47.82, 125.47°)
OKLaboklab(67.72% -0.0772 0.0931)
OKLCHoklch(67.72% 0.121 129.7)
XYZxyz(23.9114, 32.3932, 12.9737)
Luminance0.3239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA652 #7952A6
analogous
#A6A352 #7FA652 #55A652
triadic
#7FA652 #527FA6 #A6527F
tetradic
#7FA652 #52A6A3 #7952A6 #A65255
square
#7FA652 #52A6A3 #7952A6 #A65255
split-complementary
#7FA652 #5255A6 #A352A6
monochromatic
#40542A #607D3E #7FA652 #9DBD79 #BBD1A2

Accessibility & contrast

On white

2.81
#7FA652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#7FA652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA652
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA652#FFFFFF#000000##000000
##7FA6521.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C4B
Deuteranopia (green-blind)
#A79957
Tritanopia (blue-blind)
#82A093
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa652;
/* rgb */ color: rgb(127, 166, 82);
/* oklch */ color: oklch(67.7% 0.121 129.7);
Tailwind
colors: {
  custom: {
    50: '#a6c084',
    500: '#7fa652',
    950: '#000000',
  },
}
SCSS
$custom: #7fa652;
$custom-light: #a6c084;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa652",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 82
  },
  "hsl": {
    "h": 87.857,
    "s": 33.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.6772,
    "c": 0.12089,
    "h": 129.7
  },
  "luminance": 0.32394
}

Semantic roles & 50–950 ramp

primary
#7FA652
secondary
#A896BE
accent
#5ECA90
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA652

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

Preview Lab → · Contrast checker → · Palette generator →

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