#7FA259#7FA259

#7FA259 is a light, moderate yellow-green. Relative luminance 0.311; OKLCH L 66.9% C 0.107 H 129.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7FA259
RGBrgb(127, 162, 89)
HSLhsl(89, 29%, 49%)
HSVhsv(89, 45%, 64%)
CMYKcmyk(21.6%, 0%, 45.1%, 36.5%)
CIE-LABlab(62.57, -24.95, 34.02)
CIE-LCHlch(62.57, 42.19, 126.26°)
OKLaboklab(66.86% -0.0689 0.0825)
OKLCHoklch(66.86% 0.108 129.8)
XYZxyz(23.4756, 31.0735, 14.2102)
Luminance0.3107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA259 #7C59A2
analogous
#A2A159 #7FA259 #5BA259
triadic
#7FA259 #597FA2 #A2597F
tetradic
#7FA259 #59A2A1 #7C59A2 #A2595B
square
#7FA259 #59A2A1 #7C59A2 #A2595B
split-complementary
#7FA259 #595BA2 #A159A2
monochromatic
#41532E #607B43 #7FA259 #9DB97F #BCCFA7

Accessibility & contrast

On white

2.91
#7FA259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#7FA259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA259
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA259#FFFFFF#000000##000000
##7FA2591.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89953
Deuteranopia (green-blind)
#A3965D
Tritanopia (blue-blind)
#819C91
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa259;
/* rgb */ color: rgb(127, 162, 89);
/* oklch */ color: oklch(66.9% 0.107 129.8);
Tailwind
colors: {
  custom: {
    50: '#a5bd89',
    500: '#7fa259',
    950: '#000000',
  },
}
SCSS
$custom: #7fa259;
$custom-light: #a5bd89;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa259",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 89
  },
  "hsl": {
    "h": 88.767,
    "s": 29.084,
    "l": 49.216
  },
  "oklch": {
    "l": 0.66865,
    "c": 0.1075,
    "h": 129.8
  },
  "luminance": 0.31074
}

Semantic roles & 50–950 ramp

primary
#7FA259
secondary
#AB9ABC
accent
#62C592
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA259

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

Preview Lab → · Contrast checker → · Palette generator →

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