#7FB939#7FB939

#7FB939 is a light, vivid yellow-green. Relative luminance 0.395; OKLCH L 72.1% C 0.168 H 130.8°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7FB939
RGBrgb(127, 185, 57)
HSLhsl(87, 53%, 47%)
HSVhsv(87, 69%, 73%)
CMYKcmyk(31.4%, 0%, 69.2%, 27.5%)
CIE-LABlab(69.12, -38.84, 56.27)
CIE-LCHlch(69.12, 68.38, 124.62°)
OKLaboklab(72.06% -0.1098 0.1274)
OKLCHoklch(72.06% 0.168 130.8)
XYZxyz(26.8397, 39.5045, 10.0811)
Luminance0.3951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB939 #7339B9
analogous
#B9B339 #7FB939 #3FB939
triadic
#7FB939 #397FB9 #B9397F
tetradic
#7FB939 #39B9B3 #7339B9 #B9393F
square
#7FB939 #39B9B3 #7339B9 #B9393F
split-complementary
#7FB939 #393FB9 #B339B9
monochromatic
#3F5B1C #5F8A2B #7FB939 #9DCE61 #BADD90

Accessibility & contrast

On white

2.36
#7FB939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#7FB939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB939
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB939#FFFFFF#000000##000000
##7FB9391.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB25
Deuteranopia (green-blind)
#B9A744
Tritanopia (blue-blind)
#82B19F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7fb939;
/* rgb */ color: rgb(127, 185, 57);
/* oklch */ color: oklch(72.1% 0.168 130.8);
Tailwind
colors: {
  custom: {
    50: '#a8ce77',
    500: '#7fb939',
    950: '#000000',
  },
}
SCSS
$custom: #7fb939;
$custom-light: #a8ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb939",
  "rgb": {
    "r": 127,
    "g": 185,
    "b": 57
  },
  "hsl": {
    "h": 87.188,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72061,
    "c": 0.16822,
    "h": 130.8
  },
  "luminance": 0.39505
}

Semantic roles & 50–950 ramp

primary
#7FB939
secondary
#A486C8
accent
#4BDC8D
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB939

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

Preview Lab → · Contrast checker → · Palette generator →

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