#7CB12B#7CB12B

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

Color values

HEX#7CB12B
RGBrgb(124, 177, 43)
HSLhsl(84, 61%, 43%)
HSVhsv(84, 76%, 69%)
CMYKcmyk(29.9%, 0%, 75.7%, 30.6%)
CIE-LABlab(66.45, -37.29, 58.64)
CIE-LCHlch(66.45, 69.49, 122.45°)
OKLaboklab(69.82% -0.1065 0.1304)
OKLCHoklch(69.82% 0.168 129.2)
XYZxyz(24.4703, 35.9031, 7.9258)
Luminance0.3590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB12B #602BB1
analogous
#B1A32B #7CB12B #39B12B
triadic
#7CB12B #2B7CB1 #B12B7C
tetradic
#7CB12B #2BB1A3 #602BB1 #B12B39
square
#7CB12B #2BB1A3 #602BB1 #B12B39
split-complementary
#7CB12B #2B39B1 #A32BB1
monochromatic
#374F13 #5A801F #7CB12B #9BD247 #B6DE78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CB12B#FFFFFF#000000##000000
##7CB12B1.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)
#BAA40B
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#80A998
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7cb12b;
/* rgb */ color: rgb(124, 177, 43);
/* oklch */ color: oklch(69.8% 0.168 129.2);
Tailwind
colors: {
  custom: {
    50: '#a6c86f',
    500: '#7cb12b',
    950: '#000000',
  },
}
SCSS
$custom: #7cb12b;
$custom-light: #a6c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb12b",
  "rgb": {
    "r": 124,
    "g": 177,
    "b": 43
  },
  "hsl": {
    "h": 83.731,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69816,
    "c": 0.16833,
    "h": 129.2
  },
  "luminance": 0.35904
}

Semantic roles & 50–950 ramp

primary
#7CB12B
secondary
#9372C6
accent
#44E483
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB12B

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

Preview Lab → · Contrast checker → · Palette generator →

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