#7FA155#7FA155

#7FA155 is a light, moderate yellow-green. Relative luminance 0.307; OKLCH L 66.6% C 0.110 H 128.8°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7FA155
RGBrgb(127, 161, 85)
HSLhsl(87, 31%, 48%)
HSVhsv(87, 47%, 63%)
CMYKcmyk(21.1%, 0%, 47.2%, 36.9%)
CIE-LABlab(62.22, -24.95, 35.65)
CIE-LCHlch(62.22, 43.51, 124.99°)
OKLaboklab(66.56% -0.0691 0.086)
OKLCHoklch(66.56% 0.11 128.8)
XYZxyz(23.1367, 30.6573, 13.2911)
Luminance0.3066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA155 #7755A1
analogous
#A19D55 #7FA155 #59A155
triadic
#7FA155 #557FA1 #A1557F
tetradic
#7FA155 #55A19D #7755A1 #A15559
square
#7FA155 #55A19D #7755A1 #A15559
split-complementary
#7FA155 #5559A1 #9D55A1
monochromatic
#40512B #5F7940 #7FA155 #9DB97A #BBCEA2

Accessibility & contrast

On white

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

On black

7.13
#7FA155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA155
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA155#FFFFFF#000000##000000
##7FA1551.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7984F
Deuteranopia (green-blind)
#A39659
Tritanopia (blue-blind)
#829B8F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa155;
/* rgb */ color: rgb(127, 161, 85);
/* oklch */ color: oklch(66.6% 0.110 128.8);
Tailwind
colors: {
  custom: {
    50: '#a6bd86',
    500: '#7fa155',
    950: '#000000',
  },
}
SCSS
$custom: #7fa155;
$custom-light: #a6bd86;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa155",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 85
  },
  "hsl": {
    "h": 86.842,
    "s": 30.894,
    "l": 48.235
  },
  "oklch": {
    "l": 0.66563,
    "c": 0.11032,
    "h": 128.8
  },
  "luminance": 0.30658
}

Semantic roles & 50–950 ramp

primary
#7FA155
secondary
#A796BC
accent
#61C78F
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA155

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

Preview Lab → · Contrast checker → · Palette generator →

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