#7CB52E#7CB52E

#7CB52E 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.51:1 contrast (WCAG AA passes).

Color values

HEX#7CB52E
RGBrgb(124, 181, 46)
HSLhsl(85, 59%, 45%)
HSVhsv(85, 75%, 71%)
CMYKcmyk(31.5%, 0%, 74.6%, 29%)
CIE-LABlab(67.67, -38.90, 58.81)
CIE-LCHlch(67.67, 70.51, 123.48°)
OKLaboklab(70.82% -0.1106 0.1312)
OKLCHoklch(70.82% 0.172 130.1)
XYZxyz(25.3291, 37.5293, 8.4936)
Luminance0.3753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB52E #672EB5
analogous
#B5AA2E #7CB52E #39B52E
triadic
#7CB52E #2E7CB5 #B52E7C
tetradic
#7CB52E #2EB5AA #672EB5 #B52E39
square
#7CB52E #2EB5AA #672EB5 #B52E39
split-complementary
#7CB52E #2E39B5 #AA2EB5
monochromatic
#395315 #5B8422 #7CB52E #9AD24E #B6DE7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CB52E#FFFFFF#000000##000000
##7CB52E1.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)
#BDA811
Deuteranopia (green-blind)
#B6A33B
Tritanopia (blue-blind)
#7FAD9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7cb52e;
/* rgb */ color: rgb(124, 181, 46);
/* oklch */ color: oklch(70.8% 0.172 130.1);
Tailwind
colors: {
  custom: {
    50: '#a6cb70',
    500: '#7cb52e',
    950: '#000000',
  },
}
SCSS
$custom: #7cb52e;
$custom-light: #a6cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb52e",
  "rgb": {
    "r": 124,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 85.333,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.7082,
    "c": 0.17159,
    "h": 130.1
  },
  "luminance": 0.3753
}

Semantic roles & 50–950 ramp

primary
#7CB52E
secondary
#9978C7
accent
#45E388
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB52E

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

Preview Lab → · Contrast checker → · Palette generator →

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