#7FA34B#7FA34B

#7FA34B is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 66.9% C 0.123 H 127.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7FA34B
RGBrgb(127, 163, 75)
HSLhsl(85, 37%, 47%)
HSVhsv(85, 54%, 64%)
CMYKcmyk(22.1%, 0%, 54%, 36.1%)
CIE-LABlab(62.69, -27.06, 41.23)
CIE-LCHlch(62.69, 49.32, 123.27°)
OKLaboklab(66.9% -0.0758 0.0975)
OKLCHoklch(66.9% 0.124 127.8)
XYZxyz(23.1195, 31.2140, 11.4621)
Luminance0.3121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA34B #6F4BA3
analogous
#A39B4B #7FA34B #53A34B
triadic
#7FA34B #4B7FA3 #A34B7F
tetradic
#7FA34B #4BA39B #6F4BA3 #A34B53
square
#7FA34B #4BA39B #6F4BA3 #A34B53
split-complementary
#7FA34B #4B53A3 #9B4BA3
monochromatic
#3E4F24 #5E7938 #7FA34B #9DBD6F #B9D099

Accessibility & contrast

On white

2.90
#7FA34B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#7FA34B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA34B
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA34B#FFFFFF#000000##000000
##7FA34B1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9943
Deuteranopia (green-blind)
#A59751
Tritanopia (blue-blind)
#839C8F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa34b;
/* rgb */ color: rgb(127, 163, 75);
/* oklch */ color: oklch(66.9% 0.123 127.8);
Tailwind
colors: {
  custom: {
    50: '#a6be80',
    500: '#7fa34b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa34b;
$custom-light: #a6be80;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa34b",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 75
  },
  "hsl": {
    "h": 84.545,
    "s": 36.975,
    "l": 46.667
  },
  "oklch": {
    "l": 0.66902,
    "c": 0.1235,
    "h": 127.8
  },
  "luminance": 0.31214
}

Semantic roles & 50–950 ramp

primary
#7FA34B
secondary
#A18EBC
accent
#5BCD8A
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA34B

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

Preview Lab → · Contrast checker → · Palette generator →

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