#7CB931#7CB931

#7CB931 is a light, vivid yellow-green. Relative luminance 0.392; OKLCH L 71.8% C 0.175 H 131.0°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7CB931
RGBrgb(124, 185, 49)
HSLhsl(87, 58%, 46%)
HSVhsv(87, 74%, 73%)
CMYKcmyk(33%, 0%, 73.5%, 27.5%)
CIE-LABlab(68.90, -40.47, 58.96)
CIE-LCHlch(68.90, 71.52, 124.47°)
OKLaboklab(71.83% -0.1147 0.132)
OKLCHoklch(71.83% 0.175 131)
XYZxyz(26.2153, 39.2038, 9.0910)
Luminance0.3921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB931 #6E31B9
analogous
#B9B231 #7CB931 #38B931
triadic
#7CB931 #317CB9 #B9317C
tetradic
#7CB931 #31B9B2 #6E31B9 #B93138
square
#7CB931 #31B9B2 #6E31B9 #B93138
split-complementary
#7CB931 #3138B9 #B231B9
monochromatic
#3B5817 #5C8924 #7CB931 #9AD255 #B7DF86

Accessibility & contrast

On white

2.38
#7CB931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#7CB931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB931
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB931#FFFFFF#000000##000000
##7CB9311.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB16
Deuteranopia (green-blind)
#B9A73E
Tritanopia (blue-blind)
#7EB19F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7cb931;
/* rgb */ color: rgb(124, 185, 49);
/* oklch */ color: oklch(71.8% 0.175 131.0);
Tailwind
colors: {
  custom: {
    50: '#a7ce72',
    500: '#7cb931',
    950: '#000000',
  },
}
SCSS
$custom: #7cb931;
$custom-light: #a7ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb931",
  "rgb": {
    "r": 124,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 86.912,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71825,
    "c": 0.17483,
    "h": 131
  },
  "luminance": 0.39205
}

Semantic roles & 50–950 ramp

primary
#7CB931
secondary
#9F7DC8
accent
#46E18C
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB931

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

Preview Lab → · Contrast checker → · Palette generator →

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