#7FB02C#7FB02C

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

Color values

HEX#7FB02C
RGBrgb(127, 176, 44)
HSLhsl(82, 60%, 43%)
HSVhsv(82, 75%, 69%)
CMYKcmyk(27.8%, 0%, 75%, 31%)
CIE-LABlab(66.32, -35.63, 58.25)
CIE-LCHlch(66.32, 68.28, 121.46°)
OKLaboklab(69.76% -0.1021 0.1296)
OKLCHoklch(69.76% 0.165 128.2)
XYZxyz(24.7324, 35.7440, 7.9786)
Luminance0.3574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB02C #5D2CB0
analogous
#B09F2C #7FB02C #3DB02C
triadic
#7FB02C #2C7FB0 #B02C7F
tetradic
#7FB02C #2CB09F #5D2CB0 #B02C3D
square
#7FB02C #2CB09F #5D2CB0 #B02C3D
split-complementary
#7FB02C #2C3DB0 #9F2CB0
monochromatic
#384E14 #5C7F20 #7FB02C #9ED148 #B8DD79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB02C#FFFFFF#000000##000000
##7FB02C1.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)
#B9A30F
Deuteranopia (green-blind)
#B2A039
Tritanopia (blue-blind)
#83A897
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7fb02c;
/* rgb */ color: rgb(127, 176, 44);
/* oklch */ color: oklch(69.8% 0.165 128.2);
Tailwind
colors: {
  custom: {
    50: '#a8c86f',
    500: '#7fb02c',
    950: '#000000',
  },
}
SCSS
$custom: #7fb02c;
$custom-light: #a8c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb02c",
  "rgb": {
    "r": 127,
    "g": 176,
    "b": 44
  },
  "hsl": {
    "h": 82.273,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69764,
    "c": 0.165,
    "h": 128.2
  },
  "luminance": 0.35745
}

Semantic roles & 50–950 ramp

primary
#7FB02C
secondary
#9172C6
accent
#45E37F
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB02C

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

Preview Lab → · Contrast checker → · Palette generator →

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