#7FA247#7FA247

#7FA247 is a light, vivid yellow-green. Relative luminance 0.308; OKLCH L 66.6% C 0.126 H 127.1°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7FA247
RGBrgb(127, 162, 71)
HSLhsl(83, 39%, 46%)
HSVhsv(83, 56%, 64%)
CMYKcmyk(21.6%, 0%, 56.2%, 36.5%)
CIE-LABlab(62.34, -26.97, 42.77)
CIE-LCHlch(62.34, 50.57, 122.24°)
OKLaboklab(66.61% -0.0759 0.1005)
OKLCHoklch(66.61% 0.126 127.1)
XYZxyz(22.8100, 30.8073, 10.7047)
Luminance0.3081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA247 #6A47A2
analogous
#A29747 #7FA247 #51A247
triadic
#7FA247 #477FA2 #A2477F
tetradic
#7FA247 #47A297 #6A47A2 #A24751
square
#7FA247 #47A297 #6A47A2 #A24751
split-complementary
#7FA247 #4751A2 #9747A2
monochromatic
#3C4D22 #5E7734 #7FA247 #9DBD69 #B9D094

Accessibility & contrast

On white

2.93
#7FA247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#7FA247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA247
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA247#FFFFFF#000000##000000
##7FA2471.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA983E
Deuteranopia (green-blind)
#A5964D
Tritanopia (blue-blind)
#839B8E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa247;
/* rgb */ color: rgb(127, 162, 71);
/* oklch */ color: oklch(66.6% 0.126 127.1);
Tailwind
colors: {
  custom: {
    50: '#a6bd7d',
    500: '#7fa247',
    950: '#000000',
  },
}
SCSS
$custom: #7fa247;
$custom-light: #a6bd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa247",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 71
  },
  "hsl": {
    "h": 83.077,
    "s": 39.056,
    "l": 45.686
  },
  "oklch": {
    "l": 0.66611,
    "c": 0.12593,
    "h": 127.1
  },
  "luminance": 0.30808
}

Semantic roles & 50–950 ramp

primary
#7FA247
secondary
#9D89BC
accent
#59CF86
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA247

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

Preview Lab → · Contrast checker → · Palette generator →

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