#7FA537#7FA537

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

Color values

HEX#7FA537
RGBrgb(127, 165, 55)
HSLhsl(81, 50%, 43%)
HSVhsv(81, 67%, 65%)
CMYKcmyk(23%, 0%, 66.7%, 35.3%)
CIE-LABlab(63.09, -29.80, 50.80)
CIE-LCHlch(63.09, 58.90, 120.40°)
OKLaboklab(67.17% -0.0852 0.1157)
OKLCHoklch(67.17% 0.144 126.4)
XYZxyz(22.8972, 31.6978, 8.5256)
Luminance0.3170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA537 #5D37A5
analogous
#A59437 #7FA537 #48A537
triadic
#7FA537 #377FA5 #A5377F
tetradic
#7FA537 #37A594 #5D37A5 #A53748
square
#7FA537 #37A594 #5D37A5 #A53748
split-complementary
#7FA537 #3748A5 #9437A5
monochromatic
#384918 #5C7728 #7FA537 #9EC653 #B8D581

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA537#FFFFFF#000000##000000
##7FA5371.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)
#AD9A28
Deuteranopia (green-blind)
#A89840
Tritanopia (blue-blind)
#849D8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa537;
/* rgb */ color: rgb(127, 165, 55);
/* oklch */ color: oklch(67.2% 0.144 126.4);
Tailwind
colors: {
  custom: {
    50: '#a7c074',
    500: '#7fa537',
    950: '#000000',
  },
}
SCSS
$custom: #7fa537;
$custom-light: #a7c074;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa537",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 55
  },
  "hsl": {
    "h": 80.727,
    "s": 50,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67167,
    "c": 0.14365,
    "h": 126.4
  },
  "luminance": 0.31698
}

Semantic roles & 50–950 ramp

primary
#7FA537
secondary
#9179BF
accent
#4EDA7E
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA537

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

Preview Lab → · Contrast checker → · Palette generator →

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