#7FA757#7FA757

#7FA757 is a light, moderate yellow-green. Relative luminance 0.328; OKLCH L 68.0% C 0.117 H 130.8°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#7FA757
RGBrgb(127, 167, 87)
HSLhsl(90, 31%, 50%)
HSVhsv(90, 48%, 65%)
CMYKcmyk(24%, 0%, 47.9%, 34.5%)
CIE-LABlab(64.03, -27.65, 36.86)
CIE-LCHlch(64.03, 46.08, 126.87°)
OKLaboklab(68.03% -0.0765 0.0888)
OKLCHoklch(68.03% 0.117 130.8)
XYZxyz(24.2911, 32.8370, 14.0734)
Luminance0.3284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA757 #7F57A7
analogous
#A7A757 #7FA757 #57A757
triadic
#7FA757 #577FA7 #A7577F
tetradic
#7FA757 #57A7A7 #7F57A7 #A75757
square
#7FA757 #57A7A7 #7F57A7 #A75757
split-complementary
#7FA757 #5757A7 #A757A7
monochromatic
#42572D #607F42 #7FA757 #9EBC7F #BCD1A7

Accessibility & contrast

On white

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

On black

7.57
#7FA757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA757
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA757#FFFFFF#000000##000000
##7FA7571.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9D50
Deuteranopia (green-blind)
#A79A5C
Tritanopia (blue-blind)
#81A194
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa757;
/* rgb */ color: rgb(127, 167, 87);
/* oklch */ color: oklch(68.0% 0.117 130.8);
Tailwind
colors: {
  custom: {
    50: '#a6c188',
    500: '#7fa757',
    950: '#000000',
  },
}
SCSS
$custom: #7fa757;
$custom-light: #a6c188;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa757",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 87
  },
  "hsl": {
    "h": 90,
    "s": 31.496,
    "l": 49.804
  },
  "oklch": {
    "l": 0.68033,
    "c": 0.11721,
    "h": 130.8
  },
  "luminance": 0.32838
}

Semantic roles & 50–950 ramp

primary
#7FA757
secondary
#AD9BBF
accent
#60C894
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA757

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

Preview Lab → · Contrast checker → · Palette generator →

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