#7CB31E#7CB31E

#7CB31E is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.2% C 0.177 H 129.0°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7CB31E
RGBrgb(124, 179, 30)
HSLhsl(82, 71%, 41%)
HSVhsv(82, 83%, 70%)
CMYKcmyk(30.7%, 0%, 83.2%, 29.8%)
CIE-LABlab(66.99, -38.79, 62.98)
CIE-LCHlch(66.99, 73.96, 121.63°)
OKLaboklab(70.24% -0.1114 0.1375)
OKLCHoklch(70.24% 0.177 129)
XYZxyz(24.6666, 36.6183, 6.9965)
Luminance0.3662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB31E #551EB3
analogous
#B39F1E #7CB31E #31B31E
triadic
#7CB31E #1E7CB3 #B31E7C
tetradic
#7CB31E #1EB39F #551EB3 #B31E31
square
#7CB31E #1EB39F #551EB3 #B31E31
split-complementary
#7CB31E #1E31B3 #9F1EB3
monochromatic
#334A0C #587F15 #7CB31E #9DDD32 #B6E566

Accessibility & contrast

On white

2.52
#7CB31E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#7CB31E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB31E
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB31E#FFFFFF#000000##000000
##7CB31E1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#B4A230
Tritanopia (blue-blind)
#80AB99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7cb31e;
/* rgb */ color: rgb(124, 179, 30);
/* oklch */ color: oklch(70.2% 0.177 129.0);
Tailwind
colors: {
  custom: {
    50: '#a7ca69',
    500: '#7cb31e',
    950: '#000000',
  },
}
SCSS
$custom: #7cb31e;
$custom-light: #a7ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb31e",
  "rgb": {
    "r": 124,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 82.148,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70239,
    "c": 0.17694,
    "h": 129
  },
  "luminance": 0.36619
}

Semantic roles & 50–950 ramp

primary
#7CB31E
secondary
#8962CB
accent
#3AEE7C
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7CB31E

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

Preview Lab → · Contrast checker → · Palette generator →

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