#7CBA31#7CBA31

#7CBA31 is a light, vivid yellow-green. Relative luminance 0.396; OKLCH L 72.1% C 0.176 H 131.2°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7CBA31
RGBrgb(124, 186, 49)
HSLhsl(87, 58%, 46%)
HSVhsv(87, 74%, 73%)
CMYKcmyk(33.3%, 0%, 73.7%, 27.1%)
CIE-LABlab(69.20, -40.91, 59.26)
CIE-LCHlch(69.20, 72.01, 124.62°)
OKLaboklab(72.07% -0.1159 0.1326)
OKLCHoklch(72.07% 0.176 131.2)
XYZxyz(26.4252, 39.6237, 9.1610)
Luminance0.3962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CBA31 #6F31BA
analogous
#BAB331 #7CBA31 #37BA31
triadic
#7CBA31 #317CBA #BA317C
tetradic
#7CBA31 #31BAB3 #6F31BA #BA3137
square
#7CBA31 #31BAB3 #6F31BA #BA3137
split-complementary
#7CBA31 #3137BA #B331BA
monochromatic
#3B5917 #5C8A24 #7CBA31 #9AD256 #B7DF86

Accessibility & contrast

On white

2.35
#7CBA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#7CBA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CBA31
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CBA31#FFFFFF#000000##000000
##7CBA311.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC16
Deuteranopia (green-blind)
#BAA73E
Tritanopia (blue-blind)
#7EB2A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7cba31;
/* rgb */ color: rgb(124, 186, 49);
/* oklch */ color: oklch(72.1% 0.176 131.2);
Tailwind
colors: {
  custom: {
    50: '#a7cf73',
    500: '#7cba31',
    950: '#000000',
  },
}
SCSS
$custom: #7cba31;
$custom-light: #a7cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#7cba31",
  "rgb": {
    "r": 124,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 87.153,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72071,
    "c": 0.17608,
    "h": 131.2
  },
  "luminance": 0.39625
}

Semantic roles & 50–950 ramp

primary
#7CBA31
secondary
#A07EC9
accent
#46E28D
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101409
muted
#7F827B

Preview Lab

Preview with #7CBA31

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

Preview Lab → · Contrast checker → · Palette generator →

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