#7FA22D#7FA22D

#7FA22D is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.4% C 0.147 H 124.9°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7FA22D
RGBrgb(127, 162, 45)
HSLhsl(78, 57%, 41%)
HSVhsv(78, 72%, 64%)
CMYKcmyk(21.6%, 0%, 72.2%, 36.5%)
CIE-LABlab(62.12, -29.04, 53.77)
CIE-LCHlch(62.12, 61.12, 118.38°)
OKLaboklab(66.36% -0.084 0.1204)
OKLCHoklch(66.36% 0.147 124.9)
XYZxyz(22.1466, 30.5419, 7.2105)
Luminance0.3054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA22D #502DA2
analogous
#A28A2D #7FA22D #44A22D
triadic
#7FA22D #2D7FA2 #A22D7F
tetradic
#7FA22D #2DA28A #502DA2 #A22D44
square
#7FA22D #2DA28A #502DA2 #A22D44
split-complementary
#7FA22D #2D44A2 #8A2DA2
monochromatic
#344212 #597220 #7FA22D #A2CA42 #B9D872

Accessibility & contrast

On white

2.95
#7FA22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#7FA22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA22D
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA22D#FFFFFF#000000##000000
##7FA22D1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9718
Deuteranopia (green-blind)
#A69637
Tritanopia (blue-blind)
#859A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa22d;
/* rgb */ color: rgb(127, 162, 45);
/* oklch */ color: oklch(66.4% 0.147 124.9);
Tailwind
colors: {
  custom: {
    50: '#a7bd6e',
    500: '#7fa22d',
    950: '#000000',
  },
}
SCSS
$custom: #7fa22d;
$custom-light: #a7bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa22d",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 77.949,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66356,
    "c": 0.1468,
    "h": 124.9
  },
  "luminance": 0.30542
}

Semantic roles & 50–950 ramp

primary
#7FA22D
secondary
#856CBF
accent
#48E075
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA22D

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

Preview Lab → · Contrast checker → · Palette generator →

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