#7FA460#7FA460

#7FA460 is a light, moderate yellow-green. Relative luminance 0.319; OKLCH L 67.5% C 0.103 H 131.9°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7FA460
RGBrgb(127, 164, 96)
HSLhsl(93, 27%, 51%)
HSVhsv(93, 41%, 64%)
CMYKcmyk(22.6%, 0%, 41.5%, 35.7%)
CIE-LABlab(63.27, -25.03, 31.23)
CIE-LCHlch(63.27, 40.02, 128.70°)
OKLaboklab(67.46% -0.0687 0.0766)
OKLCHoklch(67.46% 0.103 131.9)
XYZxyz(24.1388, 31.9070, 15.9510)
Luminance0.3191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA460 #8560A4
analogous
#A1A460 #7FA460 #60A463
triadic
#7FA460 #607FA4 #A4607F
tetradic
#7FA460 #60A1A4 #8560A4 #A46360
square
#7FA460 #60A1A4 #8560A4 #A46360
split-complementary
#7FA460 #6360A4 #A460A1
monochromatic
#435832 #617E48 #7FA460 #9EBA87 #BED1AE

Accessibility & contrast

On white

2.84
#7FA460 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#7FA460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA460
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA460#FFFFFF#000000##000000
##7FA4601.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99B5B
Deuteranopia (green-blind)
#A49864
Tritanopia (blue-blind)
#809F93
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa460;
/* rgb */ color: rgb(127, 164, 96);
/* oklch */ color: oklch(67.5% 0.103 131.9);
Tailwind
colors: {
  custom: {
    50: '#a5bf8e',
    500: '#7fa460',
    950: '#000000',
  },
}
SCSS
$custom: #7fa460;
$custom-light: #a5bf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa460",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 96
  },
  "hsl": {
    "h": 92.647,
    "s": 27.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.6746,
    "c": 0.10286,
    "h": 131.9
  },
  "luminance": 0.31907
}

Semantic roles & 50–950 ramp

primary
#7FA460
secondary
#B1A1BF
accent
#64C498
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#0F120C
muted
#7F817D

Preview Lab

Preview with #7FA460

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

Preview Lab → · Contrast checker → · Palette generator →

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