#7CB151#7CB151

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

Color values

HEX#7CB151
RGBrgb(124, 177, 81)
HSLhsl(93, 38%, 51%)
HSVhsv(93, 54%, 69%)
CMYKcmyk(29.9%, 0%, 54.2%, 30.6%)
CIE-LABlab(66.77, -34.19, 43.10)
CIE-LCHlch(66.77, 55.01, 128.42°)
OKLaboklab(70.18% -0.0949 0.1021)
OKLCHoklch(70.18% 0.139 132.9)
XYZxyz(25.5191, 36.3226, 13.4494)
Luminance0.3632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB151 #8651B1
analogous
#ACB151 #7CB151 #51B156
triadic
#7CB151 #517CB1 #B1517C
tetradic
#7CB151 #51ACB1 #8651B1 #B15651
square
#7CB151 #51ACB1 #8651B1 #B15651
split-complementary
#7CB151 #5651B1 #B151AC
monochromatic
#415E2A #5E883D #7CB151 #9CC47B #BCD7A6

Accessibility & contrast

On white

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

On black

8.26
#7CB151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB151
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB151#FFFFFF#000000##000000
##7CB1511.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A548
Deuteranopia (green-blind)
#B0A157
Tritanopia (blue-blind)
#7DAB9B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7cb151;
/* rgb */ color: rgb(124, 177, 81);
/* oklch */ color: oklch(70.2% 0.139 132.9);
Tailwind
colors: {
  custom: {
    50: '#a5c884',
    500: '#7cb151',
    950: '#000000',
  },
}
SCSS
$custom: #7cb151;
$custom-light: #a5c884;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb151",
  "rgb": {
    "r": 124,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 93.125,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.70178,
    "c": 0.13941,
    "h": 132.9
  },
  "luminance": 0.36323
}

Semantic roles & 50–950 ramp

primary
#7CB151
secondary
#B19AC4
accent
#5ACE9A
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#0F130B
muted
#7F827C

Preview Lab

Preview with #7CB151

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

Preview Lab → · Contrast checker → · Palette generator →

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