#7FA545#7FA545

#7FA545 is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 67.3% C 0.132 H 127.7°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#7FA545
RGBrgb(127, 165, 69)
HSLhsl(84, 41%, 46%)
HSVhsv(84, 58%, 65%)
CMYKcmyk(23%, 0%, 58.2%, 35.3%)
CIE-LABlab(63.22, -28.62, 44.72)
CIE-LCHlch(63.22, 53.10, 122.62°)
OKLaboklab(67.31% -0.0806 0.1045)
OKLCHoklch(67.31% 0.132 127.7)
XYZxyz(23.2816, 31.8516, 10.5504)
Luminance0.3185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA545 #6B45A5
analogous
#A59B45 #7FA545 #4FA545
triadic
#7FA545 #457FA5 #A5457F
tetradic
#7FA545 #45A59B #6B45A5 #A5454F
square
#7FA545 #45A59B #6B45A5 #A5454F
split-complementary
#7FA545 #454FA5 #9B45A5
monochromatic
#3D4F21 #5E7A33 #7FA545 #9DC068 #B9D293

Accessibility & contrast

On white

2.85
#7FA545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#7FA545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA545
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA545#FFFFFF#000000##000000
##7FA5451.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B3B
Deuteranopia (green-blind)
#A7984B
Tritanopia (blue-blind)
#839E90
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa545;
/* rgb */ color: rgb(127, 165, 69);
/* oklch */ color: oklch(67.3% 0.132 127.7);
Tailwind
colors: {
  custom: {
    50: '#a6c07c',
    500: '#7fa545',
    950: '#000000',
  },
}
SCSS
$custom: #7fa545;
$custom-light: #a6c07c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa545",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 83.75,
    "s": 41.026,
    "l": 45.882
  },
  "oklch": {
    "l": 0.67311,
    "c": 0.13199,
    "h": 127.7
  },
  "luminance": 0.31852
}

Semantic roles & 50–950 ramp

primary
#7FA545
secondary
#9D88BD
accent
#57D187
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA545

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

Preview Lab → · Contrast checker → · Palette generator →

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