#7CB22D#7CB22D

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

Color values

HEX#7CB22D
RGBrgb(124, 178, 45)
HSLhsl(84, 60%, 44%)
HSVhsv(84, 75%, 70%)
CMYKcmyk(30.3%, 0%, 74.7%, 30.2%)
CIE-LABlab(66.76, -37.62, 58.26)
CIE-LCHlch(66.76, 69.36, 122.85°)
OKLaboklab(70.08% -0.1072 0.1299)
OKLCHoklch(70.08% 0.168 129.5)
XYZxyz(24.7061, 36.3146, 8.1898)
Luminance0.3631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB22D #632DB2
analogous
#B2A52D #7CB22D #39B22D
triadic
#7CB22D #2D7CB2 #B22D7C
tetradic
#7CB22D #2DB2A5 #632DB2 #B22D39
square
#7CB22D #2DB2A5 #632DB2 #B22D39
split-complementary
#7CB22D #2D39B2 #A52DB2
monochromatic
#385014 #5A8121 #7CB22D #9BD14B #B6DE7C

Accessibility & contrast

On white

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

On black

8.26
#7CB22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB22D
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB22D#FFFFFF#000000##000000
##7CB22D1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA511
Deuteranopia (green-blind)
#B3A13A
Tritanopia (blue-blind)
#80AA99
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7cb22d;
/* rgb */ color: rgb(124, 178, 45);
/* oklch */ color: oklch(70.1% 0.168 129.5);
Tailwind
colors: {
  custom: {
    50: '#a6c970',
    500: '#7cb22d',
    950: '#000000',
  },
}
SCSS
$custom: #7cb22d;
$custom-light: #a6c970;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb22d",
  "rgb": {
    "r": 124,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 84.361,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70075,
    "c": 0.16843,
    "h": 129.5
  },
  "luminance": 0.36315
}

Semantic roles & 50–950 ramp

primary
#7CB22D
secondary
#9675C6
accent
#45E385
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB22D

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

Preview Lab → · Contrast checker → · Palette generator →

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