#7CB12C#7CB12C

#7CB12C is a light, vivid yellow-green. Relative luminance 0.359; OKLCH L 69.8% C 0.168 H 129.3°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#7CB12C
RGBrgb(124, 177, 44)
HSLhsl(84, 60%, 43%)
HSVhsv(84, 75%, 69%)
CMYKcmyk(29.9%, 0%, 75.1%, 30.6%)
CIE-LABlab(66.45, -37.23, 58.31)
CIE-LCHlch(66.45, 69.18, 122.56°)
OKLaboklab(69.82% -0.1063 0.1298)
OKLCHoklch(69.82% 0.168 129.3)
XYZxyz(24.4889, 35.9105, 8.0236)
Luminance0.3591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB12C #612CB1
analogous
#B1A32C #7CB12C #39B12C
triadic
#7CB12C #2C7CB1 #B12C7C
tetradic
#7CB12C #2CB1A3 #612CB1 #B12C39
square
#7CB12C #2CB1A3 #612CB1 #B12C39
split-complementary
#7CB12C #2C39B1 #A32CB1
monochromatic
#374F14 #5A8020 #7CB12C #9BD249 #B6DE7A

Accessibility & contrast

On white

2.57
#7CB12C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#7CB12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB12C
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB12C#FFFFFF#000000##000000
##7CB12C1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA40E
Deuteranopia (green-blind)
#B2A039
Tritanopia (blue-blind)
#80A998
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7cb12c;
/* rgb */ color: rgb(124, 177, 44);
/* oklch */ color: oklch(69.8% 0.168 129.3);
Tailwind
colors: {
  custom: {
    50: '#a6c86f',
    500: '#7cb12c',
    950: '#000000',
  },
}
SCSS
$custom: #7cb12c;
$custom-light: #a6c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb12c",
  "rgb": {
    "r": 124,
    "g": 177,
    "b": 44
  },
  "hsl": {
    "h": 83.91,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69822,
    "c": 0.16776,
    "h": 129.3
  },
  "luminance": 0.35911
}

Semantic roles & 50–950 ramp

primary
#7CB12C
secondary
#9473C6
accent
#44E384
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB12C

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

Preview Lab → · Contrast checker → · Palette generator →

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