#7FA06B#7FA06B

#7FA06B is a light, moderate yellow-green. Relative luminance 0.307; OKLCH L 66.7% C 0.084 H 134.2°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7FA06B
RGBrgb(127, 160, 107)
HSLhsl(97, 22%, 52%)
HSVhsv(97, 33%, 63%)
CMYKcmyk(20.6%, 0%, 33.1%, 37.3%)
CIE-LABlab(62.27, -21.43, 24.02)
CIE-LCHlch(62.27, 32.19, 131.73°)
OKLaboklab(66.72% -0.0583 0.0601)
OKLCHoklch(66.72% 0.084 134.2)
XYZxyz(23.9765, 30.7147, 18.5724)
Luminance0.3071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA06B #8C6BA0
analogous
#9AA06B #7FA06B #6BA071
triadic
#7FA06B #6B7FA0 #A06B7F
tetradic
#7FA06B #6B9AA0 #8C6BA0 #A0716B
square
#7FA06B #6B9AA0 #8C6BA0 #A0716B
split-complementary
#7FA06B #716BA0 #A06B9A
monochromatic
#445839 #617D50 #7FA06B #9FB890 #BFD0B6

Accessibility & contrast

On white

2.94
#7FA06B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#7FA06B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA06B
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA06B#FFFFFF#000000##000000
##7FA06B1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49867
Deuteranopia (green-blind)
#9F966E
Tritanopia (blue-blind)
#7F9C92
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa06b;
/* rgb */ color: rgb(127, 160, 107);
/* oklch */ color: oklch(66.7% 0.084 134.2);
Tailwind
colors: {
  custom: {
    50: '#a5bc96',
    500: '#7fa06b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa06b;
$custom-light: #a5bc96;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa06b",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 107
  },
  "hsl": {
    "h": 97.358,
    "s": 21.811,
    "l": 52.353
  },
  "oklch": {
    "l": 0.66715,
    "c": 0.08375,
    "h": 134.2
  },
  "luminance": 0.30715
}

Semantic roles & 50–950 ramp

primary
#7FA06B
secondary
#B6A8BF
accent
#69BE9E
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#0F120D
muted
#7F817E

Preview Lab

Preview with #7FA06B

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

Preview Lab → · Contrast checker → · Palette generator →

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