#7FA257#7FA257

#7FA257 is a light, moderate yellow-green. Relative luminance 0.310; OKLCH L 66.8% C 0.110 H 129.5°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7FA257
RGBrgb(127, 162, 87)
HSLhsl(88, 30%, 49%)
HSVhsv(88, 46%, 64%)
CMYKcmyk(21.6%, 0%, 46.3%, 36.5%)
CIE-LABlab(62.54, -25.20, 35.02)
CIE-LCHlch(62.54, 43.14, 125.74°)
OKLaboklab(66.83% -0.0697 0.0847)
OKLCHoklch(66.83% 0.11 129.5)
XYZxyz(23.3928, 31.0404, 13.7739)
Luminance0.3104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA257 #7A57A2
analogous
#A2A057 #7FA257 #5AA257
triadic
#7FA257 #577FA2 #A2577F
tetradic
#7FA257 #57A2A0 #7A57A2 #A2575A
square
#7FA257 #57A2A0 #7A57A2 #A2575A
split-complementary
#7FA257 #575AA2 #A057A2
monochromatic
#41522C #607A42 #7FA257 #9DB97D #BBCFA5

Accessibility & contrast

On white

2.91
#7FA257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#7FA257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA257
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA257#FFFFFF#000000##000000
##7FA2571.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89951
Deuteranopia (green-blind)
#A3965B
Tritanopia (blue-blind)
#829C90
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa257;
/* rgb */ color: rgb(127, 162, 87);
/* oklch */ color: oklch(66.8% 0.110 129.5);
Tailwind
colors: {
  custom: {
    50: '#a5bd88',
    500: '#7fa257',
    950: '#000000',
  },
}
SCSS
$custom: #7fa257;
$custom-light: #a5bd88;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa257",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 87
  },
  "hsl": {
    "h": 88,
    "s": 30.12,
    "l": 48.824
  },
  "oklch": {
    "l": 0.66834,
    "c": 0.10968,
    "h": 129.5
  },
  "luminance": 0.31041
}

Semantic roles & 50–950 ramp

primary
#7FA257
secondary
#A999BC
accent
#61C691
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA257

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

Preview Lab → · Contrast checker → · Palette generator →

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