#7FA224#7FA224

#7FA224 is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.3% C 0.152 H 124.5°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7FA224
RGBrgb(127, 162, 36)
HSLhsl(77, 64%, 39%)
HSVhsv(77, 78%, 64%)
CMYKcmyk(21.6%, 0%, 77.8%, 36.5%)
CIE-LABlab(62.07, -29.54, 56.86)
CIE-LCHlch(62.07, 64.08, 117.45°)
OKLaboklab(66.3% -0.0861 0.1254)
OKLCHoklch(66.3% 0.152 124.5)
XYZxyz(21.9914, 30.4798, 6.3933)
Luminance0.3048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA224 #4724A2
analogous
#A28624 #7FA224 #40A224
triadic
#7FA224 #247FA2 #A2247F
tetradic
#7FA224 #24A286 #4724A2 #A22440
square
#7FA224 #24A286 #4724A2 #A22440
split-complementary
#7FA224 #2440A2 #8624A2
monochromatic
#303E0E #587019 #7FA224 #A5D132 #BBDD64

Accessibility & contrast

On white

2.96
#7FA224 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#7FA224 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA224
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA224#FFFFFF#000000##000000
##7FA2241.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9701
Deuteranopia (green-blind)
#A79630
Tritanopia (blue-blind)
#859A8A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa224;
/* rgb */ color: rgb(127, 162, 36);
/* oklch */ color: oklch(66.3% 0.152 124.5);
Tailwind
colors: {
  custom: {
    50: '#a8bd69',
    500: '#7fa224',
    950: '#000000',
  },
}
SCSS
$custom: #7fa224;
$custom-light: #a8bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa224",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 36
  },
  "hsl": {
    "h": 76.667,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66296,
    "c": 0.15212,
    "h": 124.5
  },
  "luminance": 0.3048
}

Semantic roles & 50–950 ramp

primary
#7FA224
secondary
#7B60C2
accent
#41E76F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA224

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

Preview Lab → · Contrast checker → · Palette generator →

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