#7FA845#7FA845

#7FA845 is a light, vivid yellow-green. Relative luminance 0.329; OKLCH L 68.0% C 0.136 H 128.4°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7FA845
RGBrgb(127, 168, 69)
HSLhsl(85, 42%, 46%)
HSVhsv(85, 59%, 66%)
CMYKcmyk(24.4%, 0%, 58.9%, 34.1%)
CIE-LABlab(64.12, -30.06, 45.75)
CIE-LCHlch(64.12, 54.74, 123.31°)
OKLaboklab(68.04% -0.0846 0.1067)
OKLCHoklch(68.04% 0.136 128.4)
XYZxyz(23.8291, 32.9465, 10.7329)
Luminance0.3295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA845 #6E45A8
analogous
#A8A045 #7FA845 #4EA845
triadic
#7FA845 #457FA8 #A8457F
tetradic
#7FA845 #45A8A0 #6E45A8 #A8454E
square
#7FA845 #45A8A0 #6E45A8 #A8454E
split-complementary
#7FA845 #454EA8 #A045A8
monochromatic
#3D5121 #5E7D33 #7FA845 #9DC169 #B9D394

Accessibility & contrast

On white

2.77
#7FA845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#7FA845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA845
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA845#FFFFFF#000000##000000
##7FA8451.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D3A
Deuteranopia (green-blind)
#AA9B4C
Tritanopia (blue-blind)
#83A193
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa845;
/* rgb */ color: rgb(127, 168, 69);
/* oklch */ color: oklch(68.0% 0.136 128.4);
Tailwind
colors: {
  custom: {
    50: '#a7c27c',
    500: '#7fa845',
    950: '#000000',
  },
}
SCSS
$custom: #7fa845;
$custom-light: #a7c27c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa845",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 69
  },
  "hsl": {
    "h": 84.848,
    "s": 41.772,
    "l": 46.471
  },
  "oklch": {
    "l": 0.68037,
    "c": 0.13616,
    "h": 128.4
  },
  "luminance": 0.32947
}

Semantic roles & 50–950 ramp

primary
#7FA845
secondary
#A08ABF
accent
#56D289
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA845

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

Preview Lab → · Contrast checker → · Palette generator →

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