#7FBA34#7FBA34

#7FBA34 is a light, vivid yellow-green. Relative luminance 0.399; OKLCH L 72.3% C 0.173 H 130.6°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#7FBA34
RGBrgb(127, 186, 52)
HSLhsl(86, 56%, 47%)
HSVhsv(86, 72%, 73%)
CMYKcmyk(31.7%, 0%, 72%, 27.1%)
CIE-LABlab(69.38, -39.62, 58.42)
CIE-LCHlch(69.38, 70.59, 124.14°)
OKLaboklab(72.27% -0.1123 0.1312)
OKLCHoklch(72.27% 0.173 130.6)
XYZxyz(26.9309, 39.8769, 9.5262)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBA34 #6F34BA
analogous
#BAB234 #7FBA34 #3CBA34
triadic
#7FBA34 #347FBA #BA347F
tetradic
#7FBA34 #34BAB2 #6F34BA #BA343C
square
#7FBA34 #34BAB2 #6F34BA #BA343C
split-complementary
#7FBA34 #343CBA #B234BA
monochromatic
#3E5A19 #5E8A27 #7FBA34 #9DD15A #B9DE8A

Accessibility & contrast

On white

2.34
#7FBA34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#7FBA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FBA34
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FBA34#FFFFFF#000000##000000
##7FBA341.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1C
Deuteranopia (green-blind)
#BAA840
Tritanopia (blue-blind)
#82B2A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7fba34;
/* rgb */ color: rgb(127, 186, 52);
/* oklch */ color: oklch(72.3% 0.173 130.6);
Tailwind
colors: {
  custom: {
    50: '#a9cf74',
    500: '#7fba34',
    950: '#000000',
  },
}
SCSS
$custom: #7fba34;
$custom-light: #a9cf74;
$custom-dark: #000000;
JSON
{
  "hex": "#7fba34",
  "rgb": {
    "r": 127,
    "g": 186,
    "b": 52
  },
  "hsl": {
    "h": 86.418,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72267,
    "c": 0.17272,
    "h": 130.6
  },
  "luminance": 0.39878
}

Semantic roles & 50–950 ramp

primary
#7FBA34
secondary
#A181C8
accent
#48E08B
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101409
muted
#7F827B

Preview Lab

Preview with #7FBA34

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

Preview Lab → · Contrast checker → · Palette generator →

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