#7FA43B#7FA43B

#7FA43B is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 67.0% C 0.139 H 126.4°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7FA43B
RGBrgb(127, 164, 59)
HSLhsl(81, 47%, 44%)
HSVhsv(81, 64%, 64%)
CMYKcmyk(22.6%, 0%, 64%, 35.7%)
CIE-LABlab(62.83, -29.02, 48.81)
CIE-LCHlch(62.83, 56.79, 120.73°)
OKLaboklab(66.96% -0.0827 0.112)
OKLCHoklch(66.96% 0.139 126.4)
XYZxyz(22.8173, 31.3784, 8.9913)
Luminance0.3138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA43B #603BA4
analogous
#A4943B #7FA43B #4AA43B
triadic
#7FA43B #3B7FA4 #A43B7F
tetradic
#7FA43B #3BA494 #603BA4 #A43B4A
square
#7FA43B #3BA494 #603BA4 #A43B4A
split-complementary
#7FA43B #3B4AA4 #943BA4
monochromatic
#394A1B #5C772B #7FA43B #9EC359 #B8D386

Accessibility & contrast

On white

2.89
#7FA43B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#7FA43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA43B
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA43B#FFFFFF#000000##000000
##7FA43B1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC992E
Deuteranopia (green-blind)
#A79743
Tritanopia (blue-blind)
#849D8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa43b;
/* rgb */ color: rgb(127, 164, 59);
/* oklch */ color: oklch(67.0% 0.139 126.4);
Tailwind
colors: {
  custom: {
    50: '#a7bf76',
    500: '#7fa43b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa43b;
$custom-light: #a7bf76;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa43b",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 59
  },
  "hsl": {
    "h": 81.143,
    "s": 47.085,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66962,
    "c": 0.1392,
    "h": 126.4
  },
  "luminance": 0.31379
}

Semantic roles & 50–950 ramp

primary
#7FA43B
secondary
#947DBE
accent
#51D780
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA43B

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

Preview Lab → · Contrast checker → · Palette generator →

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