#7FB335#7FB335

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

Color values

HEX#7FB335
RGBrgb(127, 179, 53)
HSLhsl(85, 54%, 45%)
HSVhsv(85, 70%, 70%)
CMYKcmyk(29.1%, 0%, 70.4%, 29.8%)
CIE-LABlab(67.28, -36.44, 55.94)
CIE-LCHlch(67.28, 66.76, 123.08°)
OKLaboklab(70.56% -0.1036 0.1262)
OKLCHoklch(70.56% 0.163 129.4)
XYZxyz(25.5150, 37.0086, 9.1665)
Luminance0.3701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB335 #6935B3
analogous
#B3A835 #7FB335 #40B335
triadic
#7FB335 #357FB3 #B3357F
tetradic
#7FB335 #35B3A8 #6935B3 #B33540
square
#7FB335 #35B3A8 #6935B3 #B33540
split-complementary
#7FB335 #3540B3 #A835B3
monochromatic
#3C5519 #5D8427 #7FB335 #9DCD58 #B9DB87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB335#FFFFFF#000000##000000
##7FB3351.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)
#BBA621
Deuteranopia (green-blind)
#B4A340
Tritanopia (blue-blind)
#83AB9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fb335;
/* rgb */ color: rgb(127, 179, 53);
/* oklch */ color: oklch(70.6% 0.163 129.4);
Tailwind
colors: {
  custom: {
    50: '#a8ca74',
    500: '#7fb335',
    950: '#000000',
  },
}
SCSS
$custom: #7fb335;
$custom-light: #a8ca74;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb335",
  "rgb": {
    "r": 127,
    "g": 179,
    "b": 53
  },
  "hsl": {
    "h": 84.762,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70562,
    "c": 0.16321,
    "h": 129.4
  },
  "luminance": 0.37009
}

Semantic roles & 50–950 ramp

primary
#7FB335
secondary
#9C7FC5
accent
#4ADE87
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB335

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

Preview Lab → · Contrast checker → · Palette generator →

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