#7FA45B#7FA45B

#7FA45B is a light, moderate yellow-green. Relative luminance 0.318; OKLCH L 67.4% C 0.108 H 130.8°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7FA45B
RGBrgb(127, 164, 91)
HSLhsl(90, 29%, 50%)
HSVhsv(90, 45%, 64%)
CMYKcmyk(22.6%, 0%, 44.5%, 35.7%)
CIE-LABlab(63.19, -25.69, 33.76)
CIE-LCHlch(63.19, 42.42, 127.27°)
OKLaboklab(67.38% -0.0708 0.0821)
OKLCHoklch(67.38% 0.108 130.8)
XYZxyz(23.9158, 31.8178, 14.7769)
Luminance0.3182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA45B #805BA4
analogous
#A3A45B #7FA45B #5BA45C
triadic
#7FA45B #5B7FA4 #A45B7F
tetradic
#7FA45B #5BA3A4 #805BA4 #A45C5B
square
#7FA45B #5BA3A4 #805BA4 #A45C5B
split-complementary
#7FA45B #5C5BA4 #A45BA3
monochromatic
#42552F #617D45 #7FA45B #9EBA82 #BCD0AA

Accessibility & contrast

On white

2.85
#7FA45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#7FA45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA45B
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA45B#FFFFFF#000000##000000
##7FA45B1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9B55
Deuteranopia (green-blind)
#A4985F
Tritanopia (blue-blind)
#819F92
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa45b;
/* rgb */ color: rgb(127, 164, 91);
/* oklch */ color: oklch(67.4% 0.108 130.8);
Tailwind
colors: {
  custom: {
    50: '#a5bf8a',
    500: '#7fa45b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa45b;
$custom-light: #a5bf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa45b",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 91
  },
  "hsl": {
    "h": 90.411,
    "s": 28.627,
    "l": 50
  },
  "oklch": {
    "l": 0.67376,
    "c": 0.10838,
    "h": 130.8
  },
  "luminance": 0.31818
}

Semantic roles & 50–950 ramp

primary
#7FA45B
secondary
#AE9DBE
accent
#63C595
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#0F120C
muted
#7F817D

Preview Lab

Preview with #7FA45B

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

Preview Lab → · Contrast checker → · Palette generator →

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