#7FA451#7FA451

#7FA451 is a light, moderate yellow-green. Relative luminance 0.317; OKLCH L 67.2% C 0.119 H 129.0°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7FA451
RGBrgb(127, 164, 81)
HSLhsl(87, 34%, 48%)
HSVhsv(87, 51%, 64%)
CMYKcmyk(22.6%, 0%, 50.6%, 35.7%)
CIE-LABlab(63.06, -26.89, 38.71)
CIE-LCHlch(63.06, 47.13, 124.79°)
OKLaboklab(67.22% -0.0748 0.0925)
OKLCHoklch(67.22% 0.119 129)
XYZxyz(23.5129, 31.6566, 12.6545)
Luminance0.3166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA451 #7651A4
analogous
#A49F51 #7FA451 #55A451
triadic
#7FA451 #517FA4 #A4517F
tetradic
#7FA451 #51A49F #7651A4 #A45155
square
#7FA451 #51A49F #7651A4 #A45155
split-complementary
#7FA451 #5155A4 #9F51A4
monochromatic
#405229 #5F7B3D #7FA451 #9DBC77 #BAD0A0

Accessibility & contrast

On white

2.86
#7FA451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#7FA451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA451
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA451#FFFFFF#000000##000000
##7FA4511.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9A4A
Deuteranopia (green-blind)
#A59856
Tritanopia (blue-blind)
#829E91
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa451;
/* rgb */ color: rgb(127, 164, 81);
/* oklch */ color: oklch(67.2% 0.119 129.0);
Tailwind
colors: {
  custom: {
    50: '#a6bf84',
    500: '#7fa451',
    950: '#000000',
  },
}
SCSS
$custom: #7fa451;
$custom-light: #a6bf84;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa451",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 81
  },
  "hsl": {
    "h": 86.747,
    "s": 33.878,
    "l": 48.039
  },
  "oklch": {
    "l": 0.67225,
    "c": 0.11896,
    "h": 129
  },
  "luminance": 0.31657
}

Semantic roles & 50–950 ramp

primary
#7FA451
secondary
#A694BD
accent
#5ECA8E
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA451

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

Preview Lab → · Contrast checker → · Palette generator →

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