#7FA457#7FA457

#7FA457 is a light, moderate yellow-green. Relative luminance 0.318; OKLCH L 67.3% C 0.113 H 130.0°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7FA457
RGBrgb(127, 164, 87)
HSLhsl(89, 31%, 49%)
HSVhsv(89, 47%, 64%)
CMYKcmyk(22.6%, 0%, 47%, 35.7%)
CIE-LABlab(63.14, -26.19, 35.76)
CIE-LCHlch(63.14, 44.32, 126.22°)
OKLaboklab(67.31% -0.0724 0.0863)
OKLCHoklch(67.31% 0.113 130)
XYZxyz(23.7479, 31.7506, 13.8923)
Luminance0.3175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA457 #7C57A4
analogous
#A4A357 #7FA457 #59A457
triadic
#7FA457 #577FA4 #A4577F
tetradic
#7FA457 #57A4A3 #7C57A4 #A45759
square
#7FA457 #57A4A3 #7C57A4 #A45759
split-complementary
#7FA457 #5759A4 #A357A4
monochromatic
#41542D #607C42 #7FA457 #9DBA7E #BCD0A6

Accessibility & contrast

On white

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

On black

7.35
#7FA457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA457
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA457#FFFFFF#000000##000000
##7FA4571.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9B51
Deuteranopia (green-blind)
#A5985B
Tritanopia (blue-blind)
#819E92
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa457;
/* rgb */ color: rgb(127, 164, 87);
/* oklch */ color: oklch(67.3% 0.113 130.0);
Tailwind
colors: {
  custom: {
    50: '#a6bf88',
    500: '#7fa457',
    950: '#000000',
  },
}
SCSS
$custom: #7fa457;
$custom-light: #a6bf88;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa457",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 87
  },
  "hsl": {
    "h": 88.831,
    "s": 30.677,
    "l": 49.216
  },
  "oklch": {
    "l": 0.67313,
    "c": 0.1127,
    "h": 130
  },
  "luminance": 0.31751
}

Semantic roles & 50–950 ramp

primary
#7FA457
secondary
#AB99BD
accent
#61C792
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA457

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

Preview Lab → · Contrast checker → · Palette generator →

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