#7FA022#7FA022

#7FA022 is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.8% C 0.151 H 123.8°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7FA022
RGBrgb(127, 160, 34)
HSLhsl(76, 65%, 38%)
HSVhsv(76, 79%, 63%)
CMYKcmyk(20.6%, 0%, 78.8%, 37.3%)
CIE-LABlab(61.45, -28.67, 56.93)
CIE-LCHlch(61.45, 63.74, 116.73°)
OKLaboklab(65.8% -0.0839 0.1252)
OKLCHoklch(65.8% 0.151 123.8)
XYZxyz(21.6122, 29.7690, 6.1204)
Luminance0.2977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA022 #4322A0
analogous
#A08222 #7FA022 #40A022
triadic
#7FA022 #227FA0 #A0227F
tetradic
#7FA022 #22A082 #4322A0 #A02240
square
#7FA022 #22A082 #4322A0 #A02240
split-complementary
#7FA022 #2240A0 #8222A0
monochromatic
#2F3B0D #576E17 #7FA022 #A7D22D #BCDD5F

Accessibility & contrast

On white

3.02
#7FA022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#7FA022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7FA022
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA022#FFFFFF#000000##000000
##7FA0221.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A5942F
Tritanopia (blue-blind)
#869889
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7fa022;
/* rgb */ color: rgb(127, 160, 34);
/* oklch */ color: oklch(65.8% 0.151 123.8);
Tailwind
colors: {
  custom: {
    50: '#a8bc68',
    500: '#7fa022',
    950: '#000000',
  },
}
SCSS
$custom: #7fa022;
$custom-light: #a8bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa022",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 34
  },
  "hsl": {
    "h": 75.714,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.65798,
    "c": 0.15072,
    "h": 123.8
  },
  "luminance": 0.29769
}

Semantic roles & 50–950 ramp

primary
#7FA022
secondary
#775CC2
accent
#40E86C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA022

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

Preview Lab → · Contrast checker → · Palette generator →

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