#7FB02B#7FB02B

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

Color values

HEX#7FB02B
RGBrgb(127, 176, 43)
HSLhsl(82, 61%, 43%)
HSVhsv(82, 76%, 69%)
CMYKcmyk(27.8%, 0%, 75.6%, 31%)
CIE-LABlab(66.32, -35.69, 58.58)
CIE-LCHlch(66.32, 68.59, 121.35°)
OKLaboklab(69.76% -0.1023 0.1302)
OKLCHoklch(69.76% 0.166 128.2)
XYZxyz(24.7138, 35.7365, 7.8808)
Luminance0.3574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB02B #5C2BB0
analogous
#B09E2B #7FB02B #3DB02B
triadic
#7FB02B #2B7FB0 #B02B7F
tetradic
#7FB02B #2BB09E #5C2BB0 #B02B3D
square
#7FB02B #2BB09E #5C2BB0 #B02B3D
split-complementary
#7FB02B #2B3DB0 #9E2BB0
monochromatic
#384E13 #5C7F1F #7FB02B #9ED246 #B8DE78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB02B#FFFFFF#000000##000000
##7FB02B1.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)
#B9A30C
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#83A897
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7fb02b;
/* rgb */ color: rgb(127, 176, 43);
/* oklch */ color: oklch(69.8% 0.166 128.2);
Tailwind
colors: {
  custom: {
    50: '#a8c86e',
    500: '#7fb02b',
    950: '#000000',
  },
}
SCSS
$custom: #7fb02b;
$custom-light: #a8c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb02b",
  "rgb": {
    "r": 127,
    "g": 176,
    "b": 43
  },
  "hsl": {
    "h": 82.105,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69758,
    "c": 0.16556,
    "h": 128.2
  },
  "luminance": 0.35737
}

Semantic roles & 50–950 ramp

primary
#7FB02B
secondary
#9071C6
accent
#44E47F
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB02B

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

Preview Lab → · Contrast checker → · Palette generator →

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