#7CB42F#7CB42F

#7CB42F is a light, vivid yellow-green. Relative luminance 0.371; OKLCH L 70.6% C 0.170 H 130.0°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7CB42F
RGBrgb(124, 180, 47)
HSLhsl(85, 59%, 45%)
HSVhsv(85, 74%, 71%)
CMYKcmyk(31.1%, 0%, 73.9%, 29.4%)
CIE-LABlab(67.38, -38.40, 58.17)
CIE-LCHlch(67.38, 69.70, 123.43°)
OKLaboklab(70.58% -0.1092 0.13)
OKLCHoklch(70.58% 0.17 130)
XYZxyz(25.1464, 37.1321, 8.5311)
Luminance0.3713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB42F #672FB4
analogous
#B4AA2F #7CB42F #3AB42F
triadic
#7CB42F #2F7CB4 #B42F7C
tetradic
#7CB42F #2FB4AA #672FB4 #B42F3A
square
#7CB42F #2FB4AA #672FB4 #B42F3A
split-complementary
#7CB42F #2F3AB4 #AA2FB4
monochromatic
#395316 #5B8322 #7CB42F #9AD14F #B6DE80

Accessibility & contrast

On white

2.49
#7CB42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#7CB42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB42F
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB42F#FFFFFF#000000##000000
##7CB42F1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA714
Deuteranopia (green-blind)
#B5A33C
Tritanopia (blue-blind)
#7FAC9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7cb42f;
/* rgb */ color: rgb(124, 180, 47);
/* oklch */ color: oklch(70.6% 0.170 130.0);
Tailwind
colors: {
  custom: {
    50: '#a6ca71',
    500: '#7cb42f',
    950: '#000000',
  },
}
SCSS
$custom: #7cb42f;
$custom-light: #a6ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb42f",
  "rgb": {
    "r": 124,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 85.263,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.7058,
    "c": 0.16976,
    "h": 130
  },
  "luminance": 0.37133
}

Semantic roles & 50–950 ramp

primary
#7CB42F
secondary
#9978C7
accent
#46E288
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB42F

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

Preview Lab → · Contrast checker → · Palette generator →

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