#7FA125#7FA125

#7FA125 is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.1% C 0.150 H 124.2°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7FA125
RGBrgb(127, 161, 37)
HSLhsl(76, 63%, 39%)
HSVhsv(76, 77%, 63%)
CMYKcmyk(21.1%, 0%, 77%, 36.9%)
CIE-LABlab(61.77, -29.01, 56.26)
CIE-LCHlch(61.77, 63.30, 117.28°)
OKLaboklab(66.06% -0.0846 0.1243)
OKLCHoklch(66.06% 0.15 124.2)
XYZxyz(21.8314, 30.1351, 6.4164)
Luminance0.3014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA125 #4725A1
analogous
#A18525 #7FA125 #41A125
triadic
#7FA125 #257FA1 #A1257F
tetradic
#7FA125 #25A185 #4725A1 #A12541
square
#7FA125 #25A185 #4725A1 #A12541
split-complementary
#7FA125 #2541A1 #8525A1
monochromatic
#303D0E #586F1A #7FA125 #A5D033 #BBDC65

Accessibility & contrast

On white

2.99
#7FA125 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#7FA125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA125
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA125#FFFFFF#000000##000000
##7FA1251.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9605
Deuteranopia (green-blind)
#A69531
Tritanopia (blue-blind)
#85998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa125;
/* rgb */ color: rgb(127, 161, 37);
/* oklch */ color: oklch(66.1% 0.150 124.2);
Tailwind
colors: {
  custom: {
    50: '#a8bd6a',
    500: '#7fa125',
    950: '#000000',
  },
}
SCSS
$custom: #7fa125;
$custom-light: #a8bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa125",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 37
  },
  "hsl": {
    "h": 76.452,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66059,
    "c": 0.15034,
    "h": 124.2
  },
  "luminance": 0.30135
}

Semantic roles & 50–950 ramp

primary
#7FA125
secondary
#7B61C1
accent
#42E66F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA125

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

Preview Lab → · Contrast checker → · Palette generator →

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