#7FB334#7FB334

#7FB334 is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.6% C 0.164 H 129.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7FB334
RGBrgb(127, 179, 52)
HSLhsl(85, 55%, 45%)
HSVhsv(85, 71%, 70%)
CMYKcmyk(29.1%, 0%, 70.9%, 29.8%)
CIE-LABlab(67.28, -36.50, 56.31)
CIE-LCHlch(67.28, 67.11, 122.95°)
OKLaboklab(70.55% -0.1038 0.1268)
OKLCHoklch(70.55% 0.164 129.3)
XYZxyz(25.4922, 36.9995, 9.0467)
Luminance0.3700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB334 #6834B3
analogous
#B3A734 #7FB334 #40B334
triadic
#7FB334 #347FB3 #B3347F
tetradic
#7FB334 #34B3A7 #6834B3 #B33440
square
#7FB334 #34B3A7 #6834B3 #B33440
split-complementary
#7FB334 #3440B3 #A734B3
monochromatic
#3C5418 #5D8426 #7FB334 #9DCE56 #B8DC86

Accessibility & contrast

On white

2.50
#7FB334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#7FB334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB334
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB334#FFFFFF#000000##000000
##7FB3341.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA61F
Deuteranopia (green-blind)
#B4A33F
Tritanopia (blue-blind)
#83AB9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fb334;
/* rgb */ color: rgb(127, 179, 52);
/* oklch */ color: oklch(70.6% 0.164 129.3);
Tailwind
colors: {
  custom: {
    50: '#a8ca73',
    500: '#7fb334',
    950: '#000000',
  },
}
SCSS
$custom: #7fb334;
$custom-light: #a8ca73;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb334",
  "rgb": {
    "r": 127,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 84.567,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70554,
    "c": 0.16387,
    "h": 129.3
  },
  "luminance": 0.37
}

Semantic roles & 50–950 ramp

primary
#7FB334
secondary
#9B7DC5
accent
#49DE86
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB334

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

Preview Lab → · Contrast checker → · Palette generator →

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