#7CB41B#7CB41B

#7CB41B is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.5% C 0.179 H 129.1°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7CB41B
RGBrgb(124, 180, 27)
HSLhsl(82, 74%, 41%)
HSVhsv(82, 85%, 71%)
CMYKcmyk(31.1%, 0%, 85%, 29.4%)
CIE-LABlab(67.28, -39.34, 63.96)
CIE-LCHlch(67.28, 75.09, 121.59°)
OKLaboklab(70.47% -0.113 0.1391)
OKLCHoklch(70.47% 0.179 129.1)
XYZxyz(24.8312, 37.0060, 6.8713)
Luminance0.3701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB41B #531BB4
analogous
#B49F1B #7CB41B #2FB41B
triadic
#7CB41B #1B7CB4 #B41B7C
tetradic
#7CB41B #1BB49F #531BB4 #B41B2F
square
#7CB41B #1BB49F #531BB4 #B41B2F
split-complementary
#7CB41B #1B2FB4 #9F1BB4
monochromatic
#334A0B #577F13 #7CB41B #9EDF2D #B7E762

Accessibility & contrast

On white

2.50
#7CB41B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#7CB41B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB41B
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB41B#FFFFFF#000000##000000
##7CB41B1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#B5A32E
Tritanopia (blue-blind)
#80AC99
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7cb41b;
/* rgb */ color: rgb(124, 180, 27);
/* oklch */ color: oklch(70.5% 0.179 129.1);
Tailwind
colors: {
  custom: {
    50: '#a7ca68',
    500: '#7cb41b',
    950: '#000000',
  },
}
SCSS
$custom: #7cb41b;
$custom-light: #a7ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb41b",
  "rgb": {
    "r": 124,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 81.961,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70473,
    "c": 0.17926,
    "h": 129.1
  },
  "luminance": 0.37007
}

Semantic roles & 50–950 ramp

primary
#7CB41B
secondary
#875FCC
accent
#37F17B
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7CB41B

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

Preview Lab → · Contrast checker → · Palette generator →

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