#7FA53F#7FA53F

#7FA53F is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 67.2% C 0.137 H 127.1°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7FA53F
RGBrgb(127, 165, 63)
HSLhsl(82, 45%, 45%)
HSVhsv(82, 62%, 65%)
CMYKcmyk(23%, 0%, 61.8%, 35.3%)
CIE-LABlab(63.16, -29.16, 47.41)
CIE-LCHlch(63.16, 55.66, 121.60°)
OKLaboklab(67.25% -0.0827 0.1095)
OKLCHoklch(67.25% 0.137 127.1)
XYZxyz(23.1047, 31.7808, 9.6187)
Luminance0.3178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA53F #653FA5
analogous
#A5983F #7FA53F #4CA53F
triadic
#7FA53F #3F7FA5 #A53F7F
tetradic
#7FA53F #3FA598 #653FA5 #A53F4C
square
#7FA53F #3FA598 #653FA5 #A53F4C
split-complementary
#7FA53F #3F4CA5 #983FA5
monochromatic
#3B4C1D #5D792E #7FA53F #9DC25F #B8D38C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA53F#FFFFFF#000000##000000
##7FA53F1.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)
#AD9A33
Deuteranopia (green-blind)
#A89846
Tritanopia (blue-blind)
#839E8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa53f;
/* rgb */ color: rgb(127, 165, 63);
/* oklch */ color: oklch(67.2% 0.137 127.1);
Tailwind
colors: {
  custom: {
    50: '#a7c078',
    500: '#7fa53f',
    950: '#000000',
  },
}
SCSS
$custom: #7fa53f;
$custom-light: #a7c078;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa53f",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 63
  },
  "hsl": {
    "h": 82.353,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67245,
    "c": 0.13725,
    "h": 127.1
  },
  "luminance": 0.31781
}

Semantic roles & 50–950 ramp

primary
#7FA53F
secondary
#9882BE
accent
#53D483
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA53F

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

Preview Lab → · Contrast checker → · Palette generator →

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