#7CB52D#7CB52D

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

Color values

HEX#7CB52D
RGBrgb(124, 181, 45)
HSLhsl(85, 60%, 44%)
HSVhsv(85, 75%, 71%)
CMYKcmyk(31.5%, 0%, 75.1%, 29%)
CIE-LABlab(67.67, -38.96, 59.14)
CIE-LCHlch(67.67, 70.82, 123.37°)
OKLaboklab(70.81% -0.1109 0.1317)
OKLCHoklch(70.81% 0.172 130.1)
XYZxyz(25.3096, 37.5215, 8.3910)
Luminance0.3752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB52D #662DB5
analogous
#B5AA2D #7CB52D #38B52D
triadic
#7CB52D #2D7CB5 #B52D7C
tetradic
#7CB52D #2DB5AA #662DB5 #B52D38
square
#7CB52D #2DB5AA #662DB5 #B52D38
split-complementary
#7CB52D #2D38B5 #AA2DB5
monochromatic
#395315 #5A8421 #7CB52D #9AD34D #B6DF7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CB52D#FFFFFF#000000##000000
##7CB52D1.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)
#BDA80F
Deuteranopia (green-blind)
#B6A33A
Tritanopia (blue-blind)
#7FAD9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7cb52d;
/* rgb */ color: rgb(124, 181, 45);
/* oklch */ color: oklch(70.8% 0.172 130.1);
Tailwind
colors: {
  custom: {
    50: '#a6cb70',
    500: '#7cb52d',
    950: '#000000',
  },
}
SCSS
$custom: #7cb52d;
$custom-light: #a6cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb52d",
  "rgb": {
    "r": 124,
    "g": 181,
    "b": 45
  },
  "hsl": {
    "h": 85.147,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70813,
    "c": 0.17216,
    "h": 130.1
  },
  "luminance": 0.37522
}

Semantic roles & 50–950 ramp

primary
#7CB52D
secondary
#9876C7
accent
#44E387
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB52D

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

Preview Lab → · Contrast checker → · Palette generator →

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