#7FA434#7FA434

#7FA434 is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.9% C 0.145 H 125.9°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7FA434
RGBrgb(127, 164, 52)
HSLhsl(80, 52%, 42%)
HSVhsv(80, 68%, 64%)
CMYKcmyk(22.6%, 0%, 68.3%, 35.7%)
CIE-LABlab(62.77, -29.54, 51.70)
CIE-LCHlch(62.77, 59.54, 119.74°)
OKLaboklab(66.9% -0.0848 0.1171)
OKLCHoklch(66.9% 0.145 125.9)
XYZxyz(22.6478, 31.3106, 8.0985)
Luminance0.3131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA434 #5934A4
analogous
#A49134 #7FA434 #47A434
triadic
#7FA434 #347FA4 #A4347F
tetradic
#7FA434 #34A491 #5934A4 #A43447
square
#7FA434 #34A491 #5934A4 #A43447
split-complementary
#7FA434 #3447A4 #9134A4
monochromatic
#374717 #5B7625 #7FA434 #9FC74E #B8D67D

Accessibility & contrast

On white

2.89
#7FA434 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#7FA434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA434
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA434#FFFFFF#000000##000000
##7FA4341.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9924
Deuteranopia (green-blind)
#A8973D
Tritanopia (blue-blind)
#849C8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa434;
/* rgb */ color: rgb(127, 164, 52);
/* oklch */ color: oklch(66.9% 0.145 125.9);
Tailwind
colors: {
  custom: {
    50: '#a7bf72',
    500: '#7fa434',
    950: '#000000',
  },
}
SCSS
$custom: #7fa434;
$custom-light: #a7bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa434",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 52
  },
  "hsl": {
    "h": 79.821,
    "s": 51.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66898,
    "c": 0.14456,
    "h": 125.9
  },
  "luminance": 0.31311
}

Semantic roles & 50–950 ramp

primary
#7FA434
secondary
#8D75BF
accent
#4CDB7C
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA434

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

Preview Lab → · Contrast checker → · Palette generator →

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