#7CB52B#7CB52B

#7CB52B is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 70.8% C 0.173 H 130.0°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#7CB52B
RGBrgb(124, 181, 43)
HSLhsl(85, 62%, 44%)
HSVhsv(85, 76%, 71%)
CMYKcmyk(31.5%, 0%, 76.2%, 29%)
CIE-LABlab(67.66, -39.07, 59.80)
CIE-LCHlch(67.66, 71.43, 123.16°)
OKLaboklab(70.8% -0.1113 0.1328)
OKLCHoklch(70.8% 0.173 130)
XYZxyz(25.2720, 37.5065, 8.1930)
Luminance0.3751 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB52B #642BB5
analogous
#B5A92B #7CB52B #37B52B
triadic
#7CB52B #2B7CB5 #B52B7C
tetradic
#7CB52B #2BB5A9 #642BB5 #B52B37
square
#7CB52B #2BB5A9 #642BB5 #B52B37
split-complementary
#7CB52B #2B37B5 #A92BB5
monochromatic
#385214 #5A841F #7CB52B #9BD449 #B6E07B

Accessibility & contrast

On white

2.47
#7CB52B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#7CB52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB52B
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB52B#FFFFFF#000000##000000
##7CB52B1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA708
Deuteranopia (green-blind)
#B6A339
Tritanopia (blue-blind)
#7FAD9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7cb52b;
/* rgb */ color: rgb(124, 181, 43);
/* oklch */ color: oklch(70.8% 0.173 130.0);
Tailwind
colors: {
  custom: {
    50: '#a7cb6f',
    500: '#7cb52b',
    950: '#000000',
  },
}
SCSS
$custom: #7cb52b;
$custom-light: #a7cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb52b",
  "rgb": {
    "r": 124,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 84.783,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.708,
    "c": 0.17327,
    "h": 130
  },
  "luminance": 0.37507
}

Semantic roles & 50–950 ramp

primary
#7CB52B
secondary
#9774C8
accent
#43E586
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB52B

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

Preview Lab → · Contrast checker → · Palette generator →

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