#7FB02F#7FB02F

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

Color values

HEX#7FB02F
RGBrgb(127, 176, 47)
HSLhsl(83, 58%, 44%)
HSVhsv(83, 73%, 69%)
CMYKcmyk(27.8%, 0%, 73.3%, 31%)
CIE-LABlab(66.34, -35.46, 57.21)
CIE-LCHlch(66.34, 67.31, 121.79°)
OKLaboklab(69.78% -0.1014 0.1279)
OKLCHoklch(69.78% 0.163 128.4)
XYZxyz(24.7908, 35.7673, 8.2864)
Luminance0.3577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB02F #602FB0
analogous
#B0A02F #7FB02F #3EB02F
triadic
#7FB02F #2F7FB0 #B02F7F
tetradic
#7FB02F #2FB0A0 #602FB0 #B02F3E
square
#7FB02F #2FB0A0 #602FB0 #B02F3E
split-complementary
#7FB02F #2F3EB0 #A02FB0
monochromatic
#394F15 #5C8022 #7FB02F #9ECF4D #B8DC7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB02F#FFFFFF#000000##000000
##7FB02F1.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)
#B9A316
Deuteranopia (green-blind)
#B2A03B
Tritanopia (blue-blind)
#83A897
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7fb02f;
/* rgb */ color: rgb(127, 176, 47);
/* oklch */ color: oklch(69.8% 0.163 128.4);
Tailwind
colors: {
  custom: {
    50: '#a8c870',
    500: '#7fb02f',
    950: '#000000',
  },
}
SCSS
$custom: #7fb02f;
$custom-light: #a8c870;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb02f",
  "rgb": {
    "r": 127,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 82.791,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69784,
    "c": 0.16322,
    "h": 128.4
  },
  "luminance": 0.35768
}

Semantic roles & 50–950 ramp

primary
#7FB02F
secondary
#9476C5
accent
#47E181
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB02F

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

Preview Lab → · Contrast checker → · Palette generator →

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