#7CB72D#7CB72D

#7CB72D is a light, vivid yellow-green. Relative luminance 0.383; OKLCH L 71.3% C 0.175 H 130.4°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#7CB72D
RGBrgb(124, 183, 45)
HSLhsl(86, 61%, 45%)
HSVhsv(86, 75%, 72%)
CMYKcmyk(32.2%, 0%, 75.4%, 28.2%)
CIE-LABlab(68.27, -39.83, 59.73)
CIE-LCHlch(68.27, 71.79, 123.70°)
OKLaboklab(71.3% -0.1132 0.133)
OKLCHoklch(71.3% 0.175 130.4)
XYZxyz(25.7192, 38.3407, 8.5275)
Luminance0.3834 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB72D #682DB7
analogous
#B7AD2D #7CB72D #37B72D
triadic
#7CB72D #2D7CB7 #B72D7C
tetradic
#7CB72D #2DB7AD #682DB7 #B72D37
square
#7CB72D #2DB7AD #682DB7 #B72D37
split-complementary
#7CB72D #2D37B7 #AD2DB7
monochromatic
#395515 #5B8621 #7CB72D #9AD34E #B6DF7F

Accessibility & contrast

On white

2.42
#7CB72D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#7CB72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB72D
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB72D#FFFFFF#000000##000000
##7CB72D1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA90D
Deuteranopia (green-blind)
#B7A53B
Tritanopia (blue-blind)
#7FAF9D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7cb72d;
/* rgb */ color: rgb(124, 183, 45);
/* oklch */ color: oklch(71.3% 0.175 130.4);
Tailwind
colors: {
  custom: {
    50: '#a7cd70',
    500: '#7cb72d',
    950: '#000000',
  },
}
SCSS
$custom: #7cb72d;
$custom-light: #a7cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb72d",
  "rgb": {
    "r": 124,
    "g": 183,
    "b": 45
  },
  "hsl": {
    "h": 85.652,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71305,
    "c": 0.17465,
    "h": 130.4
  },
  "luminance": 0.38342
}

Semantic roles & 50–950 ramp

primary
#7CB72D
secondary
#9A78C8
accent
#44E488
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB72D

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

Preview Lab → · Contrast checker → · Palette generator →

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