#7FB02A#7FB02A

#7FB02A is a light, vivid yellow-green. Relative luminance 0.357; OKLCH L 69.8% C 0.166 H 128.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7FB02A
RGBrgb(127, 176, 42)
HSLhsl(82, 61%, 43%)
HSVhsv(82, 76%, 69%)
CMYKcmyk(27.8%, 0%, 76.1%, 31%)
CIE-LABlab(66.31, -35.74, 58.91)
CIE-LCHlch(66.31, 68.90, 121.25°)
OKLaboklab(69.75% -0.1025 0.1307)
OKLCHoklch(69.75% 0.166 128.1)
XYZxyz(24.6957, 35.7293, 7.7854)
Luminance0.3573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB02A #5B2AB0
analogous
#B09E2A #7FB02A #3CB02A
triadic
#7FB02A #2A7FB0 #B02A7F
tetradic
#7FB02A #2AB09E #5B2AB0 #B02A3C
square
#7FB02A #2AB09E #5B2AB0 #B02A3C
split-complementary
#7FB02A #2A3CB0 #9E2AB0
monochromatic
#384D12 #5B7F1E #7FB02A #9FD345 #B8DE76

Accessibility & contrast

On white

2.58
#7FB02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#7FB02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB02A
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB02A#FFFFFF#000000##000000
##7FB02A1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A309
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#84A897
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7fb02a;
/* rgb */ color: rgb(127, 176, 42);
/* oklch */ color: oklch(69.8% 0.166 128.1);
Tailwind
colors: {
  custom: {
    50: '#a8c86e',
    500: '#7fb02a',
    950: '#000000',
  },
}
SCSS
$custom: #7fb02a;
$custom-light: #a8c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb02a",
  "rgb": {
    "r": 127,
    "g": 176,
    "b": 42
  },
  "hsl": {
    "h": 81.94,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69751,
    "c": 0.16612,
    "h": 128.1
  },
  "luminance": 0.3573
}

Semantic roles & 50–950 ramp

primary
#7FB02A
secondary
#8F70C6
accent
#43E57E
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB02A

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

Preview Lab → · Contrast checker → · Palette generator →

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