#7FA422#7FA422

#7FA422 is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 66.8% C 0.156 H 124.9°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7FA422
RGBrgb(127, 164, 34)
HSLhsl(77, 66%, 39%)
HSVhsv(77, 79%, 64%)
CMYKcmyk(22.6%, 0%, 79.3%, 35.7%)
CIE-LABlab(62.66, -30.58, 58.04)
CIE-LCHlch(62.66, 65.60, 117.79°)
OKLaboklab(66.77% -0.0891 0.1276)
OKLCHoklch(66.77% 0.156 124.9)
XYZxyz(22.3168, 31.1782, 6.3553)
Luminance0.3118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA422 #4722A4
analogous
#A48822 #7FA422 #3EA422
triadic
#7FA422 #227FA4 #A4227F
tetradic
#7FA422 #22A488 #4722A4 #A4223E
square
#7FA422 #22A488 #4722A4 #A4223E
split-complementary
#7FA422 #223EA4 #8822A4
monochromatic
#303F0D #587117 #7FA422 #A5D42F #BBDE62

Accessibility & contrast

On white

2.90
#7FA422 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#7FA422 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA422
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA422#FFFFFF#000000##000000
##7FA4221.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#A8972F
Tritanopia (blue-blind)
#859C8C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa422;
/* rgb */ color: rgb(127, 164, 34);
/* oklch */ color: oklch(66.8% 0.156 124.9);
Tailwind
colors: {
  custom: {
    50: '#a8bf69',
    500: '#7fa422',
    950: '#000000',
  },
}
SCSS
$custom: #7fa422;
$custom-light: #a8bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa422",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 34
  },
  "hsl": {
    "h": 77.077,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66772,
    "c": 0.15558,
    "h": 124.9
  },
  "luminance": 0.31178
}

Semantic roles & 50–950 ramp

primary
#7FA422
secondary
#7B5EC4
accent
#3FE96F
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA422

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

Preview Lab → · Contrast checker → · Palette generator →

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