#7FA62C#7FA62C

#7FA62C is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 67.3% C 0.152 H 125.9°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7FA62C
RGBrgb(127, 166, 44)
HSLhsl(79, 58%, 41%)
HSVhsv(79, 73%, 65%)
CMYKcmyk(23.5%, 0%, 73.5%, 34.9%)
CIE-LABlab(63.31, -31.00, 55.32)
CIE-LCHlch(63.31, 63.42, 119.27°)
OKLaboklab(67.32% -0.0895 0.1235)
OKLCHoklch(67.32% 0.152 125.9)
XYZxyz(22.8434, 31.9660, 7.3489)
Luminance0.3197 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA62C #532CA6
analogous
#A6902C #7FA62C #42A62C
triadic
#7FA62C #2C7FA6 #A62C7F
tetradic
#7FA62C #2CA690 #532CA6 #A62C42
square
#7FA62C #2CA690 #532CA6 #A62C42
split-complementary
#7FA62C #2C42A6 #902CA6
monochromatic
#354512 #5A761F #7FA62C #A1CD42 #B9DA73

Accessibility & contrast

On white

2.84
#7FA62C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#7FA62C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA62C
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA62C#FFFFFF#000000##000000
##7FA62C1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B15
Deuteranopia (green-blind)
#AA9937
Tritanopia (blue-blind)
#859E8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa62c;
/* rgb */ color: rgb(127, 166, 44);
/* oklch */ color: oklch(67.3% 0.152 125.9);
Tailwind
colors: {
  custom: {
    50: '#a8c06e',
    500: '#7fa62c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa62c;
$custom-light: #a8c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa62c",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 44
  },
  "hsl": {
    "h": 79.18,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67322,
    "c": 0.15248,
    "h": 125.9
  },
  "luminance": 0.31966
}

Semantic roles & 50–950 ramp

primary
#7FA62C
secondary
#886DC1
accent
#46E178
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA62C

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

Preview Lab → · Contrast checker → · Palette generator →

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