#7CB52F#7CB52F

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

Color values

HEX#7CB52F
RGBrgb(124, 181, 47)
HSLhsl(86, 59%, 45%)
HSVhsv(86, 74%, 71%)
CMYKcmyk(31.5%, 0%, 74%, 29%)
CIE-LABlab(67.68, -38.84, 58.47)
CIE-LCHlch(67.68, 70.19, 123.60°)
OKLaboklab(70.83% -0.1104 0.1306)
OKLCHoklch(70.83% 0.171 130.2)
XYZxyz(25.3490, 37.5373, 8.5986)
Luminance0.3754 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB52F #682FB5
analogous
#B5AB2F #7CB52F #39B52F
triadic
#7CB52F #2F7CB5 #B52F7C
tetradic
#7CB52F #2FB5AB #682FB5 #B52F39
square
#7CB52F #2FB5AB #682FB5 #B52F39
split-complementary
#7CB52F #2F39B5 #AB2FB5
monochromatic
#395416 #5B8422 #7CB52F #9AD150 #B6DE80

Accessibility & contrast

On white

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

On black

8.51
#7CB52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB52F
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB52F#FFFFFF#000000##000000
##7CB52F1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7cb52f;
/* rgb */ color: rgb(124, 181, 47);
/* oklch */ color: oklch(70.8% 0.171 130.2);
Tailwind
colors: {
  custom: {
    50: '#a6cb71',
    500: '#7cb52f',
    950: '#000000',
  },
}
SCSS
$custom: #7cb52f;
$custom-light: #a6cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb52f",
  "rgb": {
    "r": 124,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 85.522,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70826,
    "c": 0.17101,
    "h": 130.2
  },
  "luminance": 0.37538
}

Semantic roles & 50–950 ramp

primary
#7CB52F
secondary
#9A79C7
accent
#46E288
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB52F

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

Preview Lab → · Contrast checker → · Palette generator →

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