#7FA621#7FA621

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

Color values

HEX#7FA621
RGBrgb(127, 166, 33)
HSLhsl(78, 67%, 39%)
HSVhsv(78, 80%, 65%)
CMYKcmyk(23.5%, 0%, 80.1%, 34.9%)
CIE-LABlab(63.26, -31.57, 58.88)
CIE-LCHlch(63.26, 66.81, 118.20°)
OKLaboklab(67.26% -0.0918 0.1292)
OKLCHoklch(67.26% 0.158 125.4)
XYZxyz(22.6633, 31.8940, 6.4007)
Luminance0.3189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA621 #4821A6
analogous
#A68B21 #7FA621 #3DA621
triadic
#7FA621 #217FA6 #A6217F
tetradic
#7FA621 #21A68B #4821A6 #A6213D
square
#7FA621 #21A68B #4821A6 #A6213D
split-complementary
#7FA621 #213DA6 #8B21A6
monochromatic
#31400D #587317 #7FA621 #A5D62F #BBE062

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA621#FFFFFF#000000##000000
##7FA6211.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)
#AA992F
Tritanopia (blue-blind)
#859E8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa621;
/* rgb */ color: rgb(127, 166, 33);
/* oklch */ color: oklch(67.3% 0.158 125.4);
Tailwind
colors: {
  custom: {
    50: '#a8c069',
    500: '#7fa621',
    950: '#000000',
  },
}
SCSS
$custom: #7fa621;
$custom-light: #a8c069;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa621",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 33
  },
  "hsl": {
    "h": 77.594,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67255,
    "c": 0.15849,
    "h": 125.4
  },
  "luminance": 0.31894
}

Semantic roles & 50–950 ramp

primary
#7FA621
secondary
#7C5EC5
accent
#3EEA70
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA621

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

Preview Lab → · Contrast checker → · Palette generator →

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