#7CB02C#7CB02C

#7CB02C is a light, vivid yellow-green. Relative luminance 0.355; OKLCH L 69.6% C 0.167 H 129.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7CB02C
RGBrgb(124, 176, 44)
HSLhsl(84, 60%, 43%)
HSVhsv(84, 75%, 69%)
CMYKcmyk(29.5%, 0%, 75%, 31%)
CIE-LABlab(66.15, -36.78, 58.02)
CIE-LCHlch(66.15, 68.69, 122.38°)
OKLaboklab(69.58% -0.105 0.1292)
OKLCHoklch(69.58% 0.167 129.1)
XYZxyz(24.2921, 35.5169, 7.9580)
Luminance0.3552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB02C #602CB0
analogous
#B0A22C #7CB02C #3AB02C
triadic
#7CB02C #2C7CB0 #B02C7C
tetradic
#7CB02C #2CB0A2 #602CB0 #B02C3A
square
#7CB02C #2CB0A2 #602CB0 #B02C3A
split-complementary
#7CB02C #2C3AB0 #A22CB0
monochromatic
#374E14 #5A7F20 #7CB02C #9BD148 #B6DD79

Accessibility & contrast

On white

2.59
#7CB02C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#7CB02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB02C
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB02C#FFFFFF#000000##000000
##7CB02C1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A30F
Deuteranopia (green-blind)
#B1A039
Tritanopia (blue-blind)
#80A897
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7cb02c;
/* rgb */ color: rgb(124, 176, 44);
/* oklch */ color: oklch(69.6% 0.167 129.1);
Tailwind
colors: {
  custom: {
    50: '#a6c86f',
    500: '#7cb02c',
    950: '#000000',
  },
}
SCSS
$custom: #7cb02c;
$custom-light: #a6c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb02c",
  "rgb": {
    "r": 124,
    "g": 176,
    "b": 44
  },
  "hsl": {
    "h": 83.636,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69576,
    "c": 0.16652,
    "h": 129.1
  },
  "luminance": 0.35518
}

Semantic roles & 50–950 ramp

primary
#7CB02C
secondary
#9372C6
accent
#45E383
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB02C

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

Preview Lab → · Contrast checker → · Palette generator →

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