#7FA641#7FA641

#7FA641 is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.5% C 0.137 H 127.5°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7FA641
RGBrgb(127, 166, 65)
HSLhsl(83, 44%, 45%)
HSVhsv(83, 61%, 65%)
CMYKcmyk(23.5%, 0%, 60.8%, 34.9%)
CIE-LABlab(63.48, -29.47, 46.86)
CIE-LCHlch(63.48, 55.36, 122.16°)
OKLaboklab(67.51% -0.0834 0.1086)
OKLCHoklch(67.51% 0.137 127.5)
XYZxyz(23.3427, 32.1657, 9.9788)
Luminance0.3217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA641 #6841A6
analogous
#A69A41 #7FA641 #4DA641
triadic
#7FA641 #417FA6 #A6417F
tetradic
#7FA641 #41A69A #6841A6 #A6414D
square
#7FA641 #41A69A #6841A6 #A6414D
split-complementary
#7FA641 #414DA6 #9A41A6
monochromatic
#3C4E1F #5D7A30 #7FA641 #9DC262 #B8D38E

Accessibility & contrast

On white

2.83
#7FA641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#7FA641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA641
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA641#FFFFFF#000000##000000
##7FA6411.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B36
Deuteranopia (green-blind)
#A89948
Tritanopia (blue-blind)
#839F90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa641;
/* rgb */ color: rgb(127, 166, 65);
/* oklch */ color: oklch(67.5% 0.137 127.5);
Tailwind
colors: {
  custom: {
    50: '#a7c07a',
    500: '#7fa641',
    950: '#000000',
  },
}
SCSS
$custom: #7fa641;
$custom-light: #a7c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa641",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 65
  },
  "hsl": {
    "h": 83.168,
    "s": 43.723,
    "l": 45.294
  },
  "oklch": {
    "l": 0.67508,
    "c": 0.13691,
    "h": 127.5
  },
  "luminance": 0.32166
}

Semantic roles & 50–950 ramp

primary
#7FA641
secondary
#9B85BE
accent
#54D385
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA641

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

Preview Lab → · Contrast checker → · Palette generator →

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