#7FA135#7FA135

#7FA135 is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 66.2% C 0.140 H 125.1°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7FA135
RGBrgb(127, 161, 53)
HSLhsl(79, 50%, 42%)
HSVhsv(79, 67%, 63%)
CMYKcmyk(21.1%, 0%, 67.1%, 36.9%)
CIE-LABlab(61.88, -28.03, 50.36)
CIE-LCHlch(61.88, 57.63, 119.10°)
OKLaboklab(66.18% -0.0805 0.1144)
OKLCHoklch(66.18% 0.14 125.1)
XYZxyz(22.1400, 30.2586, 8.0415)
Luminance0.3026 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA135 #5735A1
analogous
#A18D35 #7FA135 #49A135
triadic
#7FA135 #357FA1 #A1357F
tetradic
#7FA135 #35A18D #5735A1 #A13549
square
#7FA135 #35A18D #5735A1 #A13549
split-complementary
#7FA135 #3549A1 #8D35A1
monochromatic
#364517 #5B7326 #7FA135 #A0C54E #B8D47C

Accessibility & contrast

On white

2.98
#7FA135 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#7FA135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA135
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA135#FFFFFF#000000##000000
##7FA1351.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9726
Deuteranopia (green-blind)
#A5953D
Tritanopia (blue-blind)
#85998B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa135;
/* rgb */ color: rgb(127, 161, 53);
/* oklch */ color: oklch(66.2% 0.140 125.1);
Tailwind
colors: {
  custom: {
    50: '#a7bd72',
    500: '#7fa135',
    950: '#000000',
  },
}
SCSS
$custom: #7fa135;
$custom-light: #a7bd72;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa135",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 53
  },
  "hsl": {
    "h": 78.889,
    "s": 50.467,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66178,
    "c": 0.13991,
    "h": 125.1
  },
  "luminance": 0.30259
}

Semantic roles & 50–950 ramp

primary
#7FA135
secondary
#8C75BD
accent
#4EDA7A
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA135

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

Preview Lab → · Contrast checker → · Palette generator →

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