#7FA745#7FA745

#7FA745 is a light, vivid yellow-green. Relative luminance 0.326; OKLCH L 67.8% C 0.135 H 128.2°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7FA745
RGBrgb(127, 167, 69)
HSLhsl(84, 42%, 46%)
HSVhsv(84, 59%, 65%)
CMYKcmyk(24%, 0%, 58.7%, 34.5%)
CIE-LABlab(63.82, -29.58, 45.41)
CIE-LCHlch(63.82, 54.19, 123.08°)
OKLaboklab(67.8% -0.0833 0.1059)
OKLCHoklch(67.8% 0.135 128.2)
XYZxyz(23.6452, 32.5787, 10.6716)
Luminance0.3258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA745 #6D45A7
analogous
#A79E45 #7FA745 #4EA745
triadic
#7FA745 #457FA7 #A7457F
tetradic
#7FA745 #45A79E #6D45A7 #A7454E
square
#7FA745 #45A79E #6D45A7 #A7454E
split-complementary
#7FA745 #454EA7 #9E45A7
monochromatic
#3D5021 #5E7C33 #7FA745 #9DC168 #B9D394

Accessibility & contrast

On white

2.79
#7FA745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#7FA745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA745
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA745#FFFFFF#000000##000000
##7FA7451.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C3B
Deuteranopia (green-blind)
#A99A4C
Tritanopia (blue-blind)
#83A092
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa745;
/* rgb */ color: rgb(127, 167, 69);
/* oklch */ color: oklch(67.8% 0.135 128.2);
Tailwind
colors: {
  custom: {
    50: '#a7c17c',
    500: '#7fa745',
    950: '#000000',
  },
}
SCSS
$custom: #7fa745;
$custom-light: #a7c17c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa745",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 69
  },
  "hsl": {
    "h": 84.49,
    "s": 41.525,
    "l": 46.275
  },
  "oklch": {
    "l": 0.67795,
    "c": 0.13477,
    "h": 128.2
  },
  "luminance": 0.32579
}

Semantic roles & 50–950 ramp

primary
#7FA745
secondary
#9F89BE
accent
#56D189
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA745

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

Preview Lab → · Contrast checker → · Palette generator →

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