#7CB12E#7CB12E

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

Color values

HEX#7CB12E
RGBrgb(124, 177, 46)
HSLhsl(84, 59%, 44%)
HSVhsv(84, 74%, 69%)
CMYKcmyk(29.9%, 0%, 74%, 30.6%)
CIE-LABlab(66.46, -37.12, 57.63)
CIE-LCHlch(66.46, 68.55, 122.79°)
OKLaboklab(69.84% -0.1058 0.1287)
OKLCHoklch(69.84% 0.167 129.4)
XYZxyz(24.5274, 35.9259, 8.2264)
Luminance0.3593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB12E #632EB1
analogous
#B1A42E #7CB12E #3AB12E
triadic
#7CB12E #2E7CB1 #B12E7C
tetradic
#7CB12E #2EB1A4 #632EB1 #B12E3A
square
#7CB12E #2EB1A4 #632EB1 #B12E3A
split-complementary
#7CB12E #2E3AB1 #A42EB1
monochromatic
#385015 #5A8021 #7CB12E #9BD04C #B6DD7C

Accessibility & contrast

On white

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

On black

8.19
#7CB12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB12E
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB12E#FFFFFF#000000##000000
##7CB12E1.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7cb12e;
/* rgb */ color: rgb(124, 177, 46);
/* oklch */ color: oklch(69.8% 0.167 129.4);
Tailwind
colors: {
  custom: {
    50: '#a6c870',
    500: '#7cb12e',
    950: '#000000',
  },
}
SCSS
$custom: #7cb12e;
$custom-light: #a6c870;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb12e",
  "rgb": {
    "r": 124,
    "g": 177,
    "b": 46
  },
  "hsl": {
    "h": 84.275,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69835,
    "c": 0.1666,
    "h": 129.4
  },
  "luminance": 0.35927
}

Semantic roles & 50–950 ramp

primary
#7CB12E
secondary
#9675C6
accent
#46E285
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB12E

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

Preview Lab → · Contrast checker → · Palette generator →

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