#7FA62D#7FA62D

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

Color values

HEX#7FA62D
RGBrgb(127, 166, 45)
HSLhsl(79, 57%, 41%)
HSVhsv(79, 73%, 65%)
CMYKcmyk(23.5%, 0%, 72.9%, 34.9%)
CIE-LABlab(63.32, -30.95, 54.96)
CIE-LCHlch(63.32, 63.08, 119.38°)
OKLaboklab(67.33% -0.0892 0.1229)
OKLCHoklch(67.33% 0.152 126)
XYZxyz(22.8624, 31.9736, 7.4491)
Luminance0.3197 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA62D #542DA6
analogous
#A6912D #7FA62D #43A62D
triadic
#7FA62D #2D7FA6 #A62D7F
tetradic
#7FA62D #2DA691 #542DA6 #A62D43
square
#7FA62D #2DA691 #542DA6 #A62D43
split-complementary
#7FA62D #2D43A6 #912DA6
monochromatic
#354613 #5A7620 #7FA62D #A0CC44 #B9D974

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA62D#FFFFFF#000000##000000
##7FA62D1.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)
#AF9B17
Deuteranopia (green-blind)
#AA9938
Tritanopia (blue-blind)
#849E8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa62d;
/* rgb */ color: rgb(127, 166, 45);
/* oklch */ color: oklch(67.3% 0.152 126.0);
Tailwind
colors: {
  custom: {
    50: '#a8c06e',
    500: '#7fa62d',
    950: '#000000',
  },
}
SCSS
$custom: #7fa62d;
$custom-light: #a8c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa62d",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 45
  },
  "hsl": {
    "h": 79.339,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67329,
    "c": 0.15186,
    "h": 126
  },
  "luminance": 0.31974
}

Semantic roles & 50–950 ramp

primary
#7FA62D
secondary
#896EC1
accent
#47E179
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA62D

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

Preview Lab → · Contrast checker → · Palette generator →

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