#7FA458#7FA458

#7FA458 is a light, moderate yellow-green. Relative luminance 0.318; OKLCH L 67.3% C 0.112 H 130.2°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7FA458
RGBrgb(127, 164, 88)
HSLhsl(89, 30%, 49%)
HSVhsv(89, 46%, 64%)
CMYKcmyk(22.6%, 0%, 46.3%, 35.7%)
CIE-LABlab(63.15, -26.06, 35.26)
CIE-LCHlch(63.15, 43.85, 126.47°)
OKLaboklab(67.33% -0.072 0.0853)
OKLCHoklch(67.33% 0.112 130.2)
XYZxyz(23.7890, 31.7671, 14.1089)
Luminance0.3177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA458 #7D58A4
analogous
#A4A358 #7FA458 #59A458
triadic
#7FA458 #587FA4 #A4587F
tetradic
#7FA458 #58A4A3 #7D58A4 #A45859
square
#7FA458 #58A4A3 #7D58A4 #A45859
split-complementary
#7FA458 #5859A4 #A358A4
monochromatic
#41542D #607C43 #7FA458 #9DBA7F #BCD0A7

Accessibility & contrast

On white

2.86
#7FA458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#7FA458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA458
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA458#FFFFFF#000000##000000
##7FA4581.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9B52
Deuteranopia (green-blind)
#A5985C
Tritanopia (blue-blind)
#819E92
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa458;
/* rgb */ color: rgb(127, 164, 88);
/* oklch */ color: oklch(67.3% 0.112 130.2);
Tailwind
colors: {
  custom: {
    50: '#a6bf88',
    500: '#7fa458',
    950: '#000000',
  },
}
SCSS
$custom: #7fa458;
$custom-light: #a6bf88;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa458",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 88
  },
  "hsl": {
    "h": 89.211,
    "s": 30.159,
    "l": 49.412
  },
  "oklch": {
    "l": 0.67328,
    "c": 0.11164,
    "h": 130.2
  },
  "luminance": 0.31768
}

Semantic roles & 50–950 ramp

primary
#7FA458
secondary
#AB9ABD
accent
#61C693
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA458

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

Preview Lab → · Contrast checker → · Palette generator →

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