#7FA260#7FA260

#7FA260 is a light, moderate yellow-green. Relative luminance 0.312; OKLCH L 67.0% C 0.100 H 131.4°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7FA260
RGBrgb(127, 162, 96)
HSLhsl(92, 26%, 51%)
HSVhsv(92, 41%, 64%)
CMYKcmyk(21.6%, 0%, 40.7%, 36.5%)
CIE-LABlab(62.67, -24.03, 30.47)
CIE-LCHlch(62.67, 38.81, 128.26°)
OKLaboklab(66.98% -0.0659 0.0748)
OKLCHoklch(66.98% 0.1 131.4)
XYZxyz(23.7836, 31.1967, 15.8326)
Luminance0.3120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA260 #8360A2
analogous
#A0A260 #7FA260 #60A262
triadic
#7FA260 #607FA2 #A2607F
tetradic
#7FA260 #60A0A2 #8360A2 #A26260
square
#7FA260 #60A0A2 #8360A2 #A26260
split-complementary
#7FA260 #6260A2 #A260A0
monochromatic
#435632 #617C49 #7FA260 #9EB987 #BDCFAD

Accessibility & contrast

On white

2.90
#7FA260 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#7FA260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA260
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA260#FFFFFF#000000##000000
##7FA2601.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7995B
Deuteranopia (green-blind)
#A29764
Tritanopia (blue-blind)
#819D92
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa260;
/* rgb */ color: rgb(127, 162, 96);
/* oklch */ color: oklch(67.0% 0.100 131.4);
Tailwind
colors: {
  custom: {
    50: '#a5bd8e',
    500: '#7fa260',
    950: '#000000',
  },
}
SCSS
$custom: #7fa260;
$custom-light: #a5bd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa260",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 96
  },
  "hsl": {
    "h": 91.818,
    "s": 26.19,
    "l": 50.588
  },
  "oklch": {
    "l": 0.66983,
    "c": 0.09972,
    "h": 131.4
  },
  "luminance": 0.31197
}

Semantic roles & 50–950 ramp

primary
#7FA260
secondary
#B0A0BE
accent
#65C397
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F120C
muted
#7F817D

Preview Lab

Preview with #7FA260

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

Preview Lab → · Contrast checker → · Palette generator →

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