#7FA335#7FA335

#7FA335 is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.7% C 0.143 H 125.7°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7FA335
RGBrgb(127, 163, 53)
HSLhsl(80, 51%, 42%)
HSVhsv(80, 67%, 64%)
CMYKcmyk(22.1%, 0%, 67.5%, 36.1%)
CIE-LABlab(62.48, -28.99, 50.99)
CIE-LCHlch(62.48, 58.65, 119.62°)
OKLaboklab(66.66% -0.0831 0.1158)
OKLCHoklch(66.66% 0.143 125.7)
XYZxyz(22.4923, 30.9632, 8.1590)
Luminance0.3096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA335 #5935A3
analogous
#A39035 #7FA335 #48A335
triadic
#7FA335 #357FA3 #A3357F
tetradic
#7FA335 #35A390 #5935A3 #A33548
square
#7FA335 #35A390 #5935A3 #A33548
split-complementary
#7FA335 #3548A3 #9035A3
monochromatic
#374717 #5B7526 #7FA335 #9FC64F #B8D57E

Accessibility & contrast

On white

2.92
#7FA335 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#7FA335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA335
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA335#FFFFFF#000000##000000
##7FA3351.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9826
Deuteranopia (green-blind)
#A7973E
Tritanopia (blue-blind)
#849B8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa335;
/* rgb */ color: rgb(127, 163, 53);
/* oklch */ color: oklch(66.7% 0.143 125.7);
Tailwind
colors: {
  custom: {
    50: '#a7be72',
    500: '#7fa335',
    950: '#000000',
  },
}
SCSS
$custom: #7fa335;
$custom-light: #a7be72;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa335",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 53
  },
  "hsl": {
    "h": 79.636,
    "s": 50.926,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66663,
    "c": 0.14253,
    "h": 125.7
  },
  "luminance": 0.30963
}

Semantic roles & 50–950 ramp

primary
#7FA335
secondary
#8D76BE
accent
#4DDA7C
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA335

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

Preview Lab → · Contrast checker → · Palette generator →

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