#7CAF22#7CAF22

#7CAF22 is a light, vivid yellow-green. Relative luminance 0.351; OKLCH L 69.3% C 0.170 H 128.4°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7CAF22
RGBrgb(124, 175, 34)
HSLhsl(82, 67%, 41%)
HSVhsv(82, 81%, 69%)
CMYKcmyk(29.1%, 0%, 80.6%, 31.4%)
CIE-LABlab(65.80, -36.84, 60.83)
CIE-LCHlch(65.80, 71.12, 121.20°)
OKLaboklab(69.27% -0.1059 0.1335)
OKLCHoklch(69.27% 0.17 128.4)
XYZxyz(23.9309, 35.0599, 7.0195)
Luminance0.3506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAF22 #5522AF
analogous
#AF9B22 #7CAF22 #35AF22
triadic
#7CAF22 #227CAF #AF227C
tetradic
#7CAF22 #22AF9B #5522AF #AF2235
square
#7CAF22 #22AF9B #5522AF #AF2235
split-complementary
#7CAF22 #2235AF #9B22AF
monochromatic
#33490E #587C18 #7CAF22 #9DD836 #B6E269

Accessibility & contrast

On white

2.62
#7CAF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#7CAF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAF22
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAF22#FFFFFF#000000##000000
##7CAF221.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B19F32
Tritanopia (blue-blind)
#80A795
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7caf22;
/* rgb */ color: rgb(124, 175, 34);
/* oklch */ color: oklch(69.3% 0.170 128.4);
Tailwind
colors: {
  custom: {
    50: '#a6c76a',
    500: '#7caf22',
    950: '#000000',
  },
}
SCSS
$custom: #7caf22;
$custom-light: #a6c76a;
$custom-dark: #000000;
JSON
{
  "hex": "#7caf22",
  "rgb": {
    "r": 124,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 81.702,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69272,
    "c": 0.17043,
    "h": 128.4
  },
  "luminance": 0.35061
}

Semantic roles & 50–950 ramp

primary
#7CAF22
secondary
#8965C8
accent
#3DEA7C
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7CAF22

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

Preview Lab → · Contrast checker → · Palette generator →

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