#7FA53B#7FA53B

#7FA53B is a light, vivid yellow-green. Relative luminance 0.317; OKLCH L 67.2% C 0.141 H 126.7°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7FA53B
RGBrgb(127, 165, 59)
HSLhsl(82, 47%, 44%)
HSVhsv(82, 64%, 65%)
CMYKcmyk(23%, 0%, 64.2%, 35.3%)
CIE-LABlab(63.13, -29.49, 49.14)
CIE-LCHlch(63.13, 57.31, 120.97°)
OKLaboklab(67.2% -0.084 0.1127)
OKLCHoklch(67.2% 0.141 126.7)
XYZxyz(22.9970, 31.7377, 9.0512)
Luminance0.3174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA53B #613BA5
analogous
#A5963B #7FA53B #4AA53B
triadic
#7FA53B #3B7FA5 #A53B7F
tetradic
#7FA53B #3BA596 #613BA5 #A53B4A
square
#7FA53B #3BA596 #613BA5 #A53B4A
split-complementary
#7FA53B #3B4AA5 #963BA5
monochromatic
#3A4B1B #5C782B #7FA53B #9EC459 #B8D486

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA53B#FFFFFF#000000##000000
##7FA53B1.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)
#AD9A2E
Deuteranopia (green-blind)
#A89843
Tritanopia (blue-blind)
#849E8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa53b;
/* rgb */ color: rgb(127, 165, 59);
/* oklch */ color: oklch(67.2% 0.141 126.7);
Tailwind
colors: {
  custom: {
    50: '#a7c076',
    500: '#7fa53b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa53b;
$custom-light: #a7c076;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa53b",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 59
  },
  "hsl": {
    "h": 81.509,
    "s": 47.321,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67204,
    "c": 0.14054,
    "h": 126.7
  },
  "luminance": 0.31738
}

Semantic roles & 50–950 ramp

primary
#7FA53B
secondary
#957EBE
accent
#51D781
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA53B

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

Preview Lab → · Contrast checker → · Palette generator →

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