#7FA325#7FA325

#7FA325 is a light, vivid yellow-green. Relative luminance 0.308; OKLCH L 66.5% C 0.153 H 124.8°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7FA325
RGBrgb(127, 163, 37)
HSLhsl(77, 63%, 39%)
HSVhsv(77, 77%, 64%)
CMYKcmyk(22.1%, 0%, 77.3%, 36.1%)
CIE-LABlab(62.37, -29.96, 56.82)
CIE-LCHlch(62.37, 64.24, 117.80°)
OKLaboklab(66.55% -0.0872 0.1255)
OKLCHoklch(66.55% 0.153 124.8)
XYZxyz(22.1837, 30.8397, 6.5338)
Luminance0.3084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA325 #4925A3
analogous
#A38825 #7FA325 #40A325
triadic
#7FA325 #257FA3 #A3257F
tetradic
#7FA325 #25A388 #4925A3 #A32540
square
#7FA325 #25A388 #4925A3 #A32540
split-complementary
#7FA325 #2540A3 #8825A3
monochromatic
#313F0E #58711A #7FA325 #A4D134 #BBDC66

Accessibility & contrast

On white

2.93
#7FA325 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#7FA325 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA325
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA325#FFFFFF#000000##000000
##7FA3251.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9803
Deuteranopia (green-blind)
#A79631
Tritanopia (blue-blind)
#859B8B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa325;
/* rgb */ color: rgb(127, 163, 37);
/* oklch */ color: oklch(66.5% 0.153 124.8);
Tailwind
colors: {
  custom: {
    50: '#a8be6a',
    500: '#7fa325',
    950: '#000000',
  },
}
SCSS
$custom: #7fa325;
$custom-light: #a8be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa325",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 37
  },
  "hsl": {
    "h": 77.143,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66546,
    "c": 0.1528,
    "h": 124.8
  },
  "luminance": 0.3084
}

Semantic roles & 50–950 ramp

primary
#7FA325
secondary
#7D62C2
accent
#42E671
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA325

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

Preview Lab → · Contrast checker → · Palette generator →

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