#7CB22F#7CB22F

#7CB22F is a light, vivid yellow-green. Relative luminance 0.363; OKLCH L 70.1% C 0.167 H 129.7°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7CB22F
RGBrgb(124, 178, 47)
HSLhsl(85, 58%, 44%)
HSVhsv(85, 74%, 70%)
CMYKcmyk(30.3%, 0%, 73.6%, 30.2%)
CIE-LABlab(66.77, -37.51, 57.58)
CIE-LCHlch(66.77, 68.72, 123.08°)
OKLaboklab(70.09% -0.1068 0.1288)
OKLCHoklch(70.09% 0.167 129.7)
XYZxyz(24.7456, 36.3304, 8.3975)
Luminance0.3633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB22F #652FB2
analogous
#B2A72F #7CB22F #3BB22F
triadic
#7CB22F #2F7CB2 #B22F7C
tetradic
#7CB22F #2FB2A7 #652FB2 #B22F3B
square
#7CB22F #2FB2A7 #652FB2 #B22F3B
split-complementary
#7CB22F #2F3BB2 #A72FB2
monochromatic
#395115 #5A8222 #7CB22F #9BD04E #B6DD7E

Accessibility & contrast

On white

2.54
#7CB22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#7CB22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB22F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB22F#FFFFFF#000000##000000
##7CB22F1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA515
Deuteranopia (green-blind)
#B3A13B
Tritanopia (blue-blind)
#7FAA99
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7cb22f;
/* rgb */ color: rgb(124, 178, 47);
/* oklch */ color: oklch(70.1% 0.167 129.7);
Tailwind
colors: {
  custom: {
    50: '#a6c971',
    500: '#7cb22f',
    950: '#000000',
  },
}
SCSS
$custom: #7cb22f;
$custom-light: #a6c971;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb22f",
  "rgb": {
    "r": 124,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 84.733,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70088,
    "c": 0.16726,
    "h": 129.7
  },
  "luminance": 0.36331
}

Semantic roles & 50–950 ramp

primary
#7CB22F
secondary
#9777C6
accent
#46E186
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB22F

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

Preview Lab → · Contrast checker → · Palette generator →

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