#7C962C#7C962C

#7C962C is a light, vivid yellow-green. Relative luminance 0.263; OKLCH L 63.2% C 0.134 H 122.3°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7C962C
RGBrgb(124, 150, 44)
HSLhsl(75, 55%, 38%)
HSVhsv(75, 71%, 59%)
CMYKcmyk(17.3%, 0%, 70.7%, 41.2%)
CIE-LABlab(58.30, -24.50, 50.27)
CIE-LCHlch(58.30, 55.92, 115.98°)
OKLaboklab(63.22% -0.0714 0.113)
OKLCHoklch(63.22% 0.134 122.3)
XYZxyz(19.6734, 26.2796, 6.4184)
Luminance0.2628 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C962C #462C96
analogous
#967B2C #7C962C #47962C
triadic
#7C962C #2C7C96 #962C7C
tetradic
#7C962C #2C967B #462C96 #962C47
square
#7C962C #2C967B #462C96 #962C47
split-complementary
#7C962C #2C4796 #7B2C96
monochromatic
#2E3710 #55671E #7C962C #A3C53A #B9D369

Accessibility & contrast

On white

3.36
#7C962C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#7C962C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C962C
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C962C#FFFFFF#000000##000000
##7C962C1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D1B
Deuteranopia (green-blind)
#9C8C35
Tritanopia (blue-blind)
#838E81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7c962c;
/* rgb */ color: rgb(124, 150, 44);
/* oklch */ color: oklch(63.2% 0.134 122.3);
Tailwind
colors: {
  custom: {
    50: '#a5b56c',
    500: '#7c962c',
    950: '#000000',
  },
}
SCSS
$custom: #7c962c;
$custom-light: #a5b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c962c",
  "rgb": {
    "r": 124,
    "g": 150,
    "b": 44
  },
  "hsl": {
    "h": 74.717,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63216,
    "c": 0.13363,
    "h": 122.3
  },
  "luminance": 0.2628
}

Semantic roles & 50–950 ramp

primary
#7C962C
secondary
#7964BA
accent
#4ADE6E
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7C962C

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

Preview Lab → · Contrast checker → · Palette generator →

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