#7C951C#7C951C

#7C951C is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.9% C 0.142 H 121.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7C951C
RGBrgb(124, 149, 28)
HSLhsl(72, 68%, 35%)
HSVhsv(72, 81%, 58%)
CMYKcmyk(16.8%, 0%, 81.2%, 41.6%)
CIE-LABlab(57.91, -24.84, 55.45)
CIE-LCHlch(57.91, 60.76, 114.13°)
OKLaboklab(62.87% -0.0737 0.1211)
OKLCHoklch(62.87% 0.142 121.3)
XYZxyz(19.2696, 25.8638, 5.0754)
Luminance0.2586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C951C #351C95
analogous
#95721C #7C951C #3F951C
triadic
#7C951C #1C7C95 #951C7C
tetradic
#7C951C #1C9572 #351C95 #951C3F
square
#7C951C #1C9572 #351C95 #951C3F
split-complementary
#7C951C #1C3F95 #721C95
monochromatic
#262E09 #516112 #7C951C #A7C926 #C0DE4E

Accessibility & contrast

On white

3.40
#7C951C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#7C951C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C951C
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C951C#FFFFFF#000000##000000
##7C951C1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#838D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7c951c;
/* rgb */ color: rgb(124, 149, 28);
/* oklch */ color: oklch(62.9% 0.142 121.3);
Tailwind
colors: {
  custom: {
    50: '#a5b464',
    500: '#7c951c',
    950: '#000000',
  },
}
SCSS
$custom: #7c951c;
$custom-light: #a5b464;
$custom-dark: #000000;
JSON
{
  "hex": "#7c951c",
  "rgb": {
    "r": 124,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 72.397,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62869,
    "c": 0.14179,
    "h": 121.3
  },
  "luminance": 0.25864
}

Semantic roles & 50–950 ramp

primary
#7C951C
secondary
#654DC0
accent
#3DEB61
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C951C

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

Preview Lab → · Contrast checker → · Palette generator →

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