#7FA245#7FA245

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

Color values

HEX#7FA245
RGBrgb(127, 162, 69)
HSLhsl(83, 40%, 45%)
HSVhsv(83, 57%, 64%)
CMYKcmyk(21.6%, 0%, 57.4%, 36.5%)
CIE-LABlab(62.32, -27.17, 43.70)
CIE-LCHlch(62.32, 51.46, 121.87°)
OKLaboklab(66.59% -0.0766 0.1023)
OKLCHoklch(66.59% 0.128 126.8)
XYZxyz(22.7469, 30.7820, 10.3722)
Luminance0.3078 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA245 #6845A2
analogous
#A29745 #7FA245 #50A245
triadic
#7FA245 #457FA2 #A2457F
tetradic
#7FA245 #45A297 #6845A2 #A24550
square
#7FA245 #45A297 #6845A2 #A24550
split-complementary
#7FA245 #4550A2 #9745A2
monochromatic
#3C4C20 #5D7733 #7FA245 #9DBE66 #B8D091

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA245#FFFFFF#000000##000000
##7FA2451.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)
#AA983B
Deuteranopia (green-blind)
#A5964B
Tritanopia (blue-blind)
#839B8E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa245;
/* rgb */ color: rgb(127, 162, 69);
/* oklch */ color: oklch(66.6% 0.128 126.8);
Tailwind
colors: {
  custom: {
    50: '#a6bd7c',
    500: '#7fa245',
    950: '#000000',
  },
}
SCSS
$custom: #7fa245;
$custom-light: #a6bd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa245",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 69
  },
  "hsl": {
    "h": 82.581,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.66586,
    "c": 0.1278,
    "h": 126.8
  },
  "luminance": 0.30782
}

Semantic roles & 50–950 ramp

primary
#7FA245
secondary
#9B87BC
accent
#58D085
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA245

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

Preview Lab → · Contrast checker → · Palette generator →

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