#7C962B#7C962B

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

Color values

HEX#7C962B
RGBrgb(124, 150, 43)
HSLhsl(75, 55%, 38%)
HSVhsv(75, 71%, 59%)
CMYKcmyk(17.3%, 0%, 71.3%, 41.2%)
CIE-LABlab(58.29, -24.56, 50.65)
CIE-LCHlch(58.29, 56.29, 115.87°)
OKLaboklab(63.21% -0.0717 0.1136)
OKLCHoklch(63.21% 0.134 122.2)
XYZxyz(19.6548, 26.2721, 6.3206)
Luminance0.2627 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C962B #452B96
analogous
#967A2B #7C962B #47962B
triadic
#7C962B #2B7C96 #962B7C
tetradic
#7C962B #2B967A #452B96 #962B47
square
#7C962B #2B967A #452B96 #962B47
split-complementary
#7C962B #2B4796 #7A2B96
monochromatic
#2D3710 #55661D #7C962B #A3C639 #B9D468

Accessibility & contrast

On white

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

On black

6.25
#7C962B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C962B
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C962B#FFFFFF#000000##000000
##7C962B1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c962b;
/* rgb */ color: rgb(124, 150, 43);
/* oklch */ color: oklch(63.2% 0.134 122.2);
Tailwind
colors: {
  custom: {
    50: '#a5b56b',
    500: '#7c962b',
    950: '#000000',
  },
}
SCSS
$custom: #7c962b;
$custom-light: #a5b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c962b",
  "rgb": {
    "r": 124,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 74.579,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63208,
    "c": 0.13432,
    "h": 122.2
  },
  "luminance": 0.26272
}

Semantic roles & 50–950 ramp

primary
#7C962B
secondary
#7863BA
accent
#49DF6D
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7C962B

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

Preview Lab → · Contrast checker → · Palette generator →

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