#7FA539#7FA539

#7FA539 is a light, vivid yellow-green. Relative luminance 0.317; OKLCH L 67.2% C 0.142 H 126.5°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7FA539
RGBrgb(127, 165, 57)
HSLhsl(81, 49%, 44%)
HSVhsv(81, 65%, 65%)
CMYKcmyk(23%, 0%, 65.5%, 35.3%)
CIE-LABlab(63.11, -29.65, 49.98)
CIE-LCHlch(63.11, 58.11, 120.68°)
OKLaboklab(67.18% -0.0846 0.1142)
OKLCHoklch(67.18% 0.142 126.5)
XYZxyz(22.9461, 31.7173, 8.7833)
Luminance0.3172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA539 #5F39A5
analogous
#A59539 #7FA539 #49A539
triadic
#7FA539 #397FA5 #A5397F
tetradic
#7FA539 #39A595 #5F39A5 #A53949
square
#7FA539 #39A595 #5F39A5 #A53949
split-complementary
#7FA539 #3949A5 #9539A5
monochromatic
#394A1A #5C7829 #7FA539 #9EC556 #B8D484

Accessibility & contrast

On white

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

On black

7.34
#7FA539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA539
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA539#FFFFFF#000000##000000
##7FA5391.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A2B
Deuteranopia (green-blind)
#A89841
Tritanopia (blue-blind)
#849E8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa539;
/* rgb */ color: rgb(127, 165, 57);
/* oklch */ color: oklch(67.2% 0.142 126.5);
Tailwind
colors: {
  custom: {
    50: '#a7c075',
    500: '#7fa539',
    950: '#000000',
  },
}
SCSS
$custom: #7fa539;
$custom-light: #a7c075;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa539",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 57
  },
  "hsl": {
    "h": 81.111,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67185,
    "c": 0.14212,
    "h": 126.5
  },
  "luminance": 0.31718
}

Semantic roles & 50–950 ramp

primary
#7FA539
secondary
#937BBE
accent
#50D880
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA539

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

Preview Lab → · Contrast checker → · Palette generator →

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