#7FA645#7FA645

#7FA645 is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.6% C 0.133 H 127.9°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7FA645
RGBrgb(127, 166, 69)
HSLhsl(84, 41%, 46%)
HSVhsv(84, 58%, 65%)
CMYKcmyk(23.5%, 0%, 58.4%, 34.9%)
CIE-LABlab(63.52, -29.10, 45.07)
CIE-LCHlch(63.52, 53.65, 122.85°)
OKLaboklab(67.55% -0.082 0.1052)
OKLCHoklch(67.55% 0.133 127.9)
XYZxyz(23.4627, 32.2137, 10.6108)
Luminance0.3221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA645 #6C45A6
analogous
#A69C45 #7FA645 #4EA645
triadic
#7FA645 #457FA6 #A6457F
tetradic
#7FA645 #45A69C #6C45A6 #A6454E
square
#7FA645 #45A69C #6C45A6 #A6454E
split-complementary
#7FA645 #454EA6 #9C45A6
monochromatic
#3D5021 #5E7B33 #7FA645 #9DC068 #B9D293

Accessibility & contrast

On white

2.82
#7FA645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#7FA645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA645
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA645#FFFFFF#000000##000000
##7FA6451.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B3B
Deuteranopia (green-blind)
#A8994C
Tritanopia (blue-blind)
#839F91
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa645;
/* rgb */ color: rgb(127, 166, 69);
/* oklch */ color: oklch(67.6% 0.133 127.9);
Tailwind
colors: {
  custom: {
    50: '#a6c07c',
    500: '#7fa645',
    950: '#000000',
  },
}
SCSS
$custom: #7fa645;
$custom-light: #a6c07c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa645",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 69
  },
  "hsl": {
    "h": 84.124,
    "s": 41.277,
    "l": 46.078
  },
  "oklch": {
    "l": 0.67553,
    "c": 0.13338,
    "h": 127.9
  },
  "luminance": 0.32214
}

Semantic roles & 50–950 ramp

primary
#7FA645
secondary
#9E89BE
accent
#57D188
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA645

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

Preview Lab → · Contrast checker → · Palette generator →

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