#7CB41F#7CB41F

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

Color values

HEX#7CB41F
RGBrgb(124, 180, 31)
HSLhsl(83, 71%, 41%)
HSVhsv(83, 83%, 71%)
CMYKcmyk(31.1%, 0%, 82.8%, 29.4%)
CIE-LABlab(67.30, -39.19, 62.99)
CIE-LCHlch(67.30, 74.19, 121.88°)
OKLaboklab(70.49% -0.1124 0.1377)
OKLCHoklch(70.49% 0.178 129.2)
XYZxyz(24.8807, 37.0258, 7.1319)
Luminance0.3703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB41F #571FB4
analogous
#B4A21F #7CB41F #32B41F
triadic
#7CB41F #1F7CB4 #B41F7C
tetradic
#7CB41F #1FB4A2 #571FB4 #B41F32
square
#7CB41F #1FB4A2 #571FB4 #B41F32
split-complementary
#7CB41F #1F32B4 #A21FB4
monochromatic
#344C0D #588016 #7CB41F #9DDC34 #B6E568

Accessibility & contrast

On white

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

On black

8.41
#7CB41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB41F
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB41F#FFFFFF#000000##000000
##7CB41F1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7cb41f;
/* rgb */ color: rgb(124, 180, 31);
/* oklch */ color: oklch(70.5% 0.178 129.2);
Tailwind
colors: {
  custom: {
    50: '#a7ca6a',
    500: '#7cb41f',
    950: '#000000',
  },
}
SCSS
$custom: #7cb41f;
$custom-light: #a7ca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb41f",
  "rgb": {
    "r": 124,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 82.55,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.7049,
    "c": 0.17773,
    "h": 129.2
  },
  "luminance": 0.37027
}

Semantic roles & 50–950 ramp

primary
#7CB41F
secondary
#8B64CB
accent
#3AED7E
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7CB41F

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

Preview Lab → · Contrast checker → · Palette generator →

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