#7CB031#7CB031

#7CB031 is a light, vivid yellow-green. Relative luminance 0.356; OKLCH L 69.6% C 0.164 H 129.4°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7CB031
RGBrgb(124, 176, 49)
HSLhsl(85, 56%, 44%)
HSVhsv(85, 72%, 69%)
CMYKcmyk(29.5%, 0%, 72.2%, 31%)
CIE-LABlab(66.18, -36.48, 56.27)
CIE-LCHlch(66.18, 67.06, 122.96°)
OKLaboklab(69.61% -0.1038 0.1263)
OKLCHoklch(69.61% 0.164 129.4)
XYZxyz(24.3918, 35.5568, 8.4832)
Luminance0.3556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB031 #6531B0
analogous
#B0A531 #7CB031 #3DB031
triadic
#7CB031 #317CB0 #B0317C
tetradic
#7CB031 #31B0A5 #6531B0 #B0313D
square
#7CB031 #31B0A5 #6531B0 #B0313D
split-complementary
#7CB031 #313DB0 #A531B0
monochromatic
#395016 #5A8024 #7CB031 #9BCE50 #B6DC80

Accessibility & contrast

On white

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

On black

8.11
#7CB031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB031
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB031#FFFFFF#000000##000000
##7CB0311.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7cb031;
/* rgb */ color: rgb(124, 176, 49);
/* oklch */ color: oklch(69.6% 0.164 129.4);
Tailwind
colors: {
  custom: {
    50: '#a6c871',
    500: '#7cb031',
    950: '#000000',
  },
}
SCSS
$custom: #7cb031;
$custom-light: #a6c871;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb031",
  "rgb": {
    "r": 124,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 84.567,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69611,
    "c": 0.16351,
    "h": 129.4
  },
  "luminance": 0.35558
}

Semantic roles & 50–950 ramp

primary
#7CB031
secondary
#9778C5
accent
#48E086
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB031

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

Preview Lab → · Contrast checker → · Palette generator →

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