#7FA622#7FA622

#7FA622 is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 67.3% C 0.158 H 125.5°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7FA622
RGBrgb(127, 166, 34)
HSLhsl(78, 66%, 39%)
HSVhsv(78, 80%, 65%)
CMYKcmyk(23.5%, 0%, 79.5%, 34.9%)
CIE-LABlab(63.26, -31.52, 58.59)
CIE-LCHlch(63.26, 66.53, 118.28°)
OKLaboklab(67.26% -0.0916 0.1287)
OKLCHoklch(67.26% 0.158 125.5)
XYZxyz(22.6775, 31.8996, 6.4756)
Luminance0.3190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA622 #4922A6
analogous
#A68B22 #7FA622 #3DA622
triadic
#7FA622 #227FA6 #A6227F
tetradic
#7FA622 #22A68B #4922A6 #A6223D
square
#7FA622 #22A68B #4922A6 #A6223D
split-complementary
#7FA622 #223DA6 #8B22A6
monochromatic
#31400D #587318 #7FA622 #A4D530 #BBDF63

Accessibility & contrast

On white

2.85
#7FA622 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#7FA622 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA622
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA622#FFFFFF#000000##000000
##7FA6221.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa622;
/* rgb */ color: rgb(127, 166, 34);
/* oklch */ color: oklch(67.3% 0.158 125.5);
Tailwind
colors: {
  custom: {
    50: '#a8c069',
    500: '#7fa622',
    950: '#000000',
  },
}
SCSS
$custom: #7fa622;
$custom-light: #a8c069;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa622",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 34
  },
  "hsl": {
    "h": 77.727,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6726,
    "c": 0.15801,
    "h": 125.5
  },
  "luminance": 0.319
}

Semantic roles & 50–950 ramp

primary
#7FA622
secondary
#7D5FC4
accent
#3FE971
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA622

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

Preview Lab → · Contrast checker → · Palette generator →

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