#7FA345#7FA345

#7FA345 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.8% C 0.129 H 127.1°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7FA345
RGBrgb(127, 163, 69)
HSLhsl(83, 41%, 45%)
HSVhsv(83, 58%, 64%)
CMYKcmyk(22.1%, 0%, 57.7%, 36.1%)
CIE-LABlab(62.62, -27.66, 44.04)
CIE-LCHlch(62.62, 52.00, 122.13°)
OKLaboklab(66.83% -0.078 0.103)
OKLCHoklch(66.83% 0.129 127.1)
XYZxyz(22.9237, 31.1357, 10.4311)
Luminance0.3114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA345 #6945A3
analogous
#A39845 #7FA345 #50A345
triadic
#7FA345 #457FA3 #A3457F
tetradic
#7FA345 #45A398 #6945A3 #A34550
square
#7FA345 #45A398 #6945A3 #A34550
split-complementary
#7FA345 #4550A3 #9845A3
monochromatic
#3C4D21 #5D7833 #7FA345 #9DBF67 #B9D192

Accessibility & contrast

On white

2.91
#7FA345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#7FA345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA345
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA345#FFFFFF#000000##000000
##7FA3451.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB993B
Deuteranopia (green-blind)
#A6974B
Tritanopia (blue-blind)
#839C8E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa345;
/* rgb */ color: rgb(127, 163, 69);
/* oklch */ color: oklch(66.8% 0.129 127.1);
Tailwind
colors: {
  custom: {
    50: '#a6be7c',
    500: '#7fa345',
    950: '#000000',
  },
}
SCSS
$custom: #7fa345;
$custom-light: #a6be7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa345",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 69
  },
  "hsl": {
    "h": 82.979,
    "s": 40.517,
    "l": 45.49
  },
  "oklch": {
    "l": 0.66828,
    "c": 0.12919,
    "h": 127.1
  },
  "luminance": 0.31136
}

Semantic roles & 50–950 ramp

primary
#7FA345
secondary
#9C87BC
accent
#57D086
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA345

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

Preview Lab → · Contrast checker → · Palette generator →

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