#7C962A#7C962A

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

Color values

HEX#7C962A
RGBrgb(124, 150, 42)
HSLhsl(74, 56%, 38%)
HSVhsv(74, 72%, 59%)
CMYKcmyk(17.3%, 0%, 72%, 41.2%)
CIE-LABlab(58.29, -24.62, 51.03)
CIE-LCHlch(58.29, 56.66, 115.76°)
OKLaboklab(63.2% -0.0719 0.1142)
OKLCHoklch(63.2% 0.135 122.2)
XYZxyz(19.6367, 26.2649, 6.2252)
Luminance0.2626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C962A #442A96
analogous
#967A2A #7C962A #46962A
triadic
#7C962A #2A7C96 #962A7C
tetradic
#7C962A #2A967A #442A96 #962A46
square
#7C962A #2A967A #442A96 #962A46
split-complementary
#7C962A #2A4696 #7A2A96
monochromatic
#2D360F #54661D #7C962A #A4C637 #BAD466

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C962A#FFFFFF#000000##000000
##7C962A1.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)
#9F8D18
Deuteranopia (green-blind)
#9C8C33
Tritanopia (blue-blind)
#838E81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7c962a;
/* rgb */ color: rgb(124, 150, 42);
/* oklch */ color: oklch(63.2% 0.135 122.2);
Tailwind
colors: {
  custom: {
    50: '#a5b56b',
    500: '#7c962a',
    950: '#000000',
  },
}
SCSS
$custom: #7c962a;
$custom-light: #a5b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c962a",
  "rgb": {
    "r": 124,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 74.444,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63201,
    "c": 0.135,
    "h": 122.2
  },
  "luminance": 0.26265
}

Semantic roles & 50–950 ramp

primary
#7C962A
secondary
#7761BA
accent
#48E06D
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7C962A

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

Preview Lab → · Contrast checker → · Palette generator →

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