#7CB152#7CB152

#7CB152 is a light, vivid yellow-green. Relative luminance 0.363; OKLCH L 70.2% C 0.138 H 133.1°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7CB152
RGBrgb(124, 177, 82)
HSLhsl(93, 38%, 51%)
HSVhsv(93, 54%, 69%)
CMYKcmyk(29.9%, 0%, 53.7%, 30.6%)
CIE-LABlab(66.78, -34.08, 42.63)
CIE-LCHlch(66.78, 54.57, 128.64°)
OKLaboklab(70.19% -0.0945 0.1012)
OKLCHoklch(70.19% 0.138 133.1)
XYZxyz(25.5569, 36.3377, 13.6484)
Luminance0.3634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB152 #8752B1
analogous
#ABB152 #7CB152 #52B157
triadic
#7CB152 #527CB1 #B1527C
tetradic
#7CB152 #52ABB1 #8752B1 #B15752
square
#7CB152 #52ABB1 #8752B1 #B15752
split-complementary
#7CB152 #5752B1 #B152AB
monochromatic
#415E2A #5F883D #7CB152 #9CC47C #BCD7A6

Accessibility & contrast

On white

2.54
#7CB152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#7CB152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB152
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB152#FFFFFF#000000##000000
##7CB1521.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A549
Deuteranopia (green-blind)
#B0A158
Tritanopia (blue-blind)
#7DAB9C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7cb152;
/* rgb */ color: rgb(124, 177, 82);
/* oklch */ color: oklch(70.2% 0.138 133.1);
Tailwind
colors: {
  custom: {
    50: '#a5c885',
    500: '#7cb152',
    950: '#000000',
  },
}
SCSS
$custom: #7cb152;
$custom-light: #a5c885;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb152",
  "rgb": {
    "r": 124,
    "g": 177,
    "b": 82
  },
  "hsl": {
    "h": 93.474,
    "s": 37.849,
    "l": 50.784
  },
  "oklch": {
    "l": 0.70191,
    "c": 0.13847,
    "h": 133.1
  },
  "luminance": 0.36339
}

Semantic roles & 50–950 ramp

primary
#7CB152
secondary
#B29AC4
accent
#5ACE9B
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#0F130B
muted
#7F827C

Preview Lab

Preview with #7CB152

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

Preview Lab → · Contrast checker → · Palette generator →

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