#7FA62B#7FA62B

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

Color values

HEX#7FA62B
RGBrgb(127, 166, 43)
HSLhsl(79, 59%, 41%)
HSVhsv(79, 74%, 65%)
CMYKcmyk(23.5%, 0%, 74.1%, 34.9%)
CIE-LABlab(63.31, -31.06, 55.67)
CIE-LCHlch(63.31, 63.75, 119.16°)
OKLaboklab(67.32% -0.0897 0.1241)
OKLCHoklch(67.32% 0.153 125.9)
XYZxyz(22.8248, 31.9585, 7.2511)
Luminance0.3196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA62B #522BA6
analogous
#A68F2B #7FA62B #41A62B
triadic
#7FA62B #2B7FA6 #A62B7F
tetradic
#7FA62B #2BA68F #522BA6 #A62B41
square
#7FA62B #2BA68F #522BA6 #A62B41
split-complementary
#7FA62B #2B41A6 #8F2BA6
monochromatic
#354512 #5A751E #7FA62B #A1CE41 #B9DA71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA62B#FFFFFF#000000##000000
##7FA62B1.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)
#AF9B12
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#859E8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa62b;
/* rgb */ color: rgb(127, 166, 43);
/* oklch */ color: oklch(67.3% 0.153 125.9);
Tailwind
colors: {
  custom: {
    50: '#a8c06d',
    500: '#7fa62b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa62b;
$custom-light: #a8c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa62b",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 43
  },
  "hsl": {
    "h": 79.024,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67315,
    "c": 0.15309,
    "h": 125.9
  },
  "luminance": 0.31959
}

Semantic roles & 50–950 ramp

primary
#7FA62B
secondary
#876BC1
accent
#46E277
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA62B

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

Preview Lab → · Contrast checker → · Palette generator →

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