#7FA04D#7FA04D

#7FA04D is a light, moderate yellow-green. Relative luminance 0.302; OKLCH L 66.2% C 0.117 H 127.2°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7FA04D
RGBrgb(127, 160, 77)
HSLhsl(84, 35%, 46%)
HSVhsv(84, 52%, 63%)
CMYKcmyk(20.6%, 0%, 51.9%, 37.3%)
CIE-LABlab(61.82, -25.37, 39.21)
CIE-LCHlch(61.82, 46.70, 122.90°)
OKLaboklab(66.21% -0.0709 0.0933)
OKLCHoklch(66.21% 0.117 127.2)
XYZxyz(22.6627, 30.1891, 11.6529)
Luminance0.3019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA04D #6E4DA0
analogous
#A0984D #7FA04D #56A04D
triadic
#7FA04D #4D7FA0 #A04D7F
tetradic
#7FA04D #4DA098 #6E4DA0 #A04D56
square
#7FA04D #4DA098 #6E4DA0 #A04D56
split-complementary
#7FA04D #4D56A0 #984DA0
monochromatic
#3D4D25 #5E7739 #7FA04D #9DBA70 #B9CE99

Accessibility & contrast

On white

2.98
#7FA04D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#7FA04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA04D
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA04D#FFFFFF#000000##000000
##7FA04D1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79745
Deuteranopia (green-blind)
#A29552
Tritanopia (blue-blind)
#839A8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa04d;
/* rgb */ color: rgb(127, 160, 77);
/* oklch */ color: oklch(66.2% 0.117 127.2);
Tailwind
colors: {
  custom: {
    50: '#a6bc81',
    500: '#7fa04d',
    950: '#000000',
  },
}
SCSS
$custom: #7fa04d;
$custom-light: #a6bc81;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa04d",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 77
  },
  "hsl": {
    "h": 83.855,
    "s": 35.021,
    "l": 46.471
  },
  "oklch": {
    "l": 0.66207,
    "c": 0.11718,
    "h": 127.2
  },
  "luminance": 0.30189
}

Semantic roles & 50–950 ramp

primary
#7FA04D
secondary
#A08EBB
accent
#5DCB89
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120A
muted
#7F817C

Preview Lab

Preview with #7FA04D

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

Preview Lab → · Contrast checker → · Palette generator →

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