#7CB256#7CB256

#7CB256 is a light, vivid yellow-green. Relative luminance 0.368; OKLCH L 70.5% C 0.136 H 133.9°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7CB256
RGBrgb(124, 178, 86)
HSLhsl(95, 37%, 52%)
HSVhsv(95, 52%, 70%)
CMYKcmyk(30.3%, 0%, 51.7%, 30.2%)
CIE-LABlab(67.12, -34.09, 41.09)
CIE-LCHlch(67.12, 53.39, 129.68°)
OKLaboklab(70.49% -0.0943 0.0981)
OKLCHoklch(70.49% 0.136 133.9)
XYZxyz(25.9118, 36.7969, 14.5396)
Luminance0.3680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB256 #8C56B2
analogous
#AAB256 #7CB256 #56B25E
triadic
#7CB256 #567CB2 #B2567C
tetradic
#7CB256 #56AAB2 #8C56B2 #B25E56
square
#7CB256 #56AAB2 #8C56B2 #B25E56
split-complementary
#7CB256 #5E56B2 #B256AA
monochromatic
#42612C #5F8B3F #7CB256 #9DC580 #BDD8AA

Accessibility & contrast

On white

2.51
#7CB256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#7CB256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB256
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB256#FFFFFF#000000##000000
##7CB2561.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A64E
Deuteranopia (green-blind)
#B0A25C
Tritanopia (blue-blind)
#7CAC9D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7cb256;
/* rgb */ color: rgb(124, 178, 86);
/* oklch */ color: oklch(70.5% 0.136 133.9);
Tailwind
colors: {
  custom: {
    50: '#a4c988',
    500: '#7cb256',
    950: '#000000',
  },
}
SCSS
$custom: #7cb256;
$custom-light: #a4c988;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb256",
  "rgb": {
    "r": 124,
    "g": 178,
    "b": 86
  },
  "hsl": {
    "h": 95.217,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.70488,
    "c": 0.13607,
    "h": 133.9
  },
  "luminance": 0.36798
}

Semantic roles & 50–950 ramp

primary
#7CB256
secondary
#B59EC6
accent
#5ACD9E
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F130B
muted
#7F827C

Preview Lab

Preview with #7CB256

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

Preview Lab → · Contrast checker → · Palette generator →

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