#7CB831#7CB831

#7CB831 is a light, vivid yellow-green. Relative luminance 0.388; OKLCH L 71.6% C 0.174 H 130.8°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#7CB831
RGBrgb(124, 184, 49)
HSLhsl(87, 58%, 46%)
HSVhsv(87, 73%, 72%)
CMYKcmyk(32.6%, 0%, 73.4%, 27.8%)
CIE-LABlab(68.60, -40.04, 58.67)
CIE-LCHlch(68.60, 71.03, 124.31°)
OKLaboklab(71.58% -0.1135 0.1313)
OKLCHoklch(71.58% 0.174 130.8)
XYZxyz(26.0068, 38.7869, 9.0215)
Luminance0.3879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB831 #6D31B8
analogous
#B8B031 #7CB831 #38B831
triadic
#7CB831 #317CB8 #B8317C
tetradic
#7CB831 #31B8B0 #6D31B8 #B83138
square
#7CB831 #31B8B0 #6D31B8 #B83138
split-complementary
#7CB831 #3138B8 #B031B8
monochromatic
#3B5717 #5B8824 #7CB831 #9AD255 #B7DE85

Accessibility & contrast

On white

2.40
#7CB831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#7CB831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB831
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB831#FFFFFF#000000##000000
##7CB8311.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA17
Deuteranopia (green-blind)
#B8A63E
Tritanopia (blue-blind)
#7FB09E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7cb831;
/* rgb */ color: rgb(124, 184, 49);
/* oklch */ color: oklch(71.6% 0.174 130.8);
Tailwind
colors: {
  custom: {
    50: '#a7cd72',
    500: '#7cb831',
    950: '#000000',
  },
}
SCSS
$custom: #7cb831;
$custom-light: #a7cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb831",
  "rgb": {
    "r": 124,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 86.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71578,
    "c": 0.17358,
    "h": 130.8
  },
  "luminance": 0.38788
}

Semantic roles & 50–950 ramp

primary
#7CB831
secondary
#9E7DC8
accent
#47E18B
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB831

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

Preview Lab → · Contrast checker → · Palette generator →

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