#7CB042#7CB042

#7CB042 is a light, vivid yellow-green. Relative luminance 0.357; OKLCH L 69.8% C 0.151 H 130.8°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7CB042
RGBrgb(124, 176, 66)
HSLhsl(88, 45%, 47%)
HSVhsv(88, 63%, 69%)
CMYKcmyk(29.5%, 0%, 62.5%, 31%)
CIE-LABlab(66.31, -35.20, 49.50)
CIE-LCHlch(66.31, 60.74, 125.42°)
OKLaboklab(69.76% -0.0989 0.1144)
OKLCHoklch(69.76% 0.151 130.8)
XYZxyz(24.8206, 35.7284, 10.7417)
Luminance0.3573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB042 #7642B0
analogous
#B0AD42 #7CB042 #45B042
triadic
#7CB042 #427CB0 #B0427C
tetradic
#7CB042 #42B0AD #7642B0 #B04245
square
#7CB042 #42B0AD #7642B0 #B04245
split-complementary
#7CB042 #4245B0 #AD42B0
monochromatic
#3D5721 #5D8331 #7CB042 #9AC769 #B8D795

Accessibility & contrast

On white

2.58
#7CB042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#7CB042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB042
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB042#FFFFFF#000000##000000
##7CB0421.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A435
Deuteranopia (green-blind)
#B0A04A
Tritanopia (blue-blind)
#7EA999
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7cb042;
/* rgb */ color: rgb(124, 176, 66);
/* oklch */ color: oklch(69.8% 0.151 130.8);
Tailwind
colors: {
  custom: {
    50: '#a5c87b',
    500: '#7cb042',
    950: '#000000',
  },
}
SCSS
$custom: #7cb042;
$custom-light: #a5c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb042",
  "rgb": {
    "r": 124,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 88.364,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.6976,
    "c": 0.15121,
    "h": 130.8
  },
  "luminance": 0.35729
}

Semantic roles & 50–950 ramp

primary
#7CB042
secondary
#A58BC3
accent
#53D590
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7CB042

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

Preview Lab → · Contrast checker → · Palette generator →

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