#7FA725#7FA725

#7FA725 is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.5% C 0.158 H 125.8°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7FA725
RGBrgb(127, 167, 37)
HSLhsl(78, 64%, 40%)
HSVhsv(78, 78%, 65%)
CMYKcmyk(24%, 0%, 77.8%, 34.5%)
CIE-LABlab(63.58, -31.85, 57.95)
CIE-LCHlch(63.58, 66.13, 118.79°)
OKLaboklab(67.52% -0.0923 0.1279)
OKLCHoklch(67.52% 0.158 125.8)
XYZxyz(22.9052, 32.2827, 6.7743)
Luminance0.3228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA725 #4D25A7
analogous
#A78E25 #7FA725 #3EA725
triadic
#7FA725 #257FA7 #A7257F
tetradic
#7FA725 #25A78E #4D25A7 #A7253E
square
#7FA725 #25A78E #4D25A7 #A7253E
split-complementary
#7FA725 #253EA7 #8E25A7
monochromatic
#33430F #59751A #7FA725 #A3D337 #BADE69

Accessibility & contrast

On white

2.82
#7FA725 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#7FA725 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA725
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA725#FFFFFF#000000##000000
##7FA7251.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#AB9932
Tritanopia (blue-blind)
#859F8F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa725;
/* rgb */ color: rgb(127, 167, 37);
/* oklch */ color: oklch(67.5% 0.158 125.8);
Tailwind
colors: {
  custom: {
    50: '#a8c16b',
    500: '#7fa725',
    950: '#000000',
  },
}
SCSS
$custom: #7fa725;
$custom-light: #a8c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa725",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 37
  },
  "hsl": {
    "h": 78.462,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.67521,
    "c": 0.15771,
    "h": 125.8
  },
  "luminance": 0.32283
}

Semantic roles & 50–950 ramp

primary
#7FA725
secondary
#8264C4
accent
#41E774
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA725

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

Preview Lab → · Contrast checker → · Palette generator →

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