#7CB252#7CB252

#7CB252 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.4% C 0.140 H 133.2°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7CB252
RGBrgb(124, 178, 82)
HSLhsl(94, 38%, 51%)
HSVhsv(94, 54%, 70%)
CMYKcmyk(30.3%, 0%, 53.9%, 30.2%)
CIE-LABlab(67.08, -34.54, 42.98)
CIE-LCHlch(67.08, 55.14, 128.78°)
OKLaboklab(70.44% -0.0958 0.102)
OKLCHoklch(70.44% 0.14 133.2)
XYZxyz(25.7551, 36.7342, 13.7144)
Luminance0.3674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB252 #8852B2
analogous
#ACB252 #7CB252 #52B258
triadic
#7CB252 #527CB2 #B2527C
tetradic
#7CB252 #52ACB2 #8852B2 #B25852
square
#7CB252 #52ACB2 #8852B2 #B25852
split-complementary
#7CB252 #5852B2 #B252AC
monochromatic
#415F2A #5F8A3D #7CB252 #9CC57C #BCD8A7

Accessibility & contrast

On white

2.52
#7CB252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#7CB252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB252
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB252#FFFFFF#000000##000000
##7CB2521.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A649
Deuteranopia (green-blind)
#B1A258
Tritanopia (blue-blind)
#7DAC9C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7cb252;
/* rgb */ color: rgb(124, 178, 82);
/* oklch */ color: oklch(70.4% 0.140 133.2);
Tailwind
colors: {
  custom: {
    50: '#a5c985',
    500: '#7cb252',
    950: '#000000',
  },
}
SCSS
$custom: #7cb252;
$custom-light: #a5c985;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb252",
  "rgb": {
    "r": 124,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 93.75,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.70435,
    "c": 0.1399,
    "h": 133.2
  },
  "luminance": 0.36735
}

Semantic roles & 50–950 ramp

primary
#7CB252
secondary
#B39BC5
accent
#59CE9B
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#0F130B
muted
#7F827C

Preview Lab

Preview with #7CB252

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

Preview Lab → · Contrast checker → · Palette generator →

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