#7C962D#7C962D

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

Color values

HEX#7C962D
RGBrgb(124, 150, 45)
HSLhsl(75, 54%, 38%)
HSVhsv(75, 70%, 59%)
CMYKcmyk(17.3%, 0%, 70%, 41.2%)
CIE-LABlab(58.31, -24.43, 49.88)
CIE-LCHlch(58.31, 55.54, 116.10°)
OKLaboklab(63.22% -0.0711 0.1123)
OKLCHoklch(63.22% 0.133 122.4)
XYZxyz(19.6924, 26.2872, 6.5186)
Luminance0.2629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C962D #472D96
analogous
#967B2D #7C962D #47962D
triadic
#7C962D #2D7C96 #962D7C
tetradic
#7C962D #2D967B #472D96 #962D47
square
#7C962D #2D967B #472D96 #962D47
split-complementary
#7C962D #2D4796 #7B2D96
monochromatic
#2E3811 #55671F #7C962D #A3C43C #B9D36B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C962D#FFFFFF#000000##000000
##7C962D1.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)
#9F8D1D
Deuteranopia (green-blind)
#9C8C35
Tritanopia (blue-blind)
#828E81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7c962d;
/* rgb */ color: rgb(124, 150, 45);
/* oklch */ color: oklch(63.2% 0.133 122.4);
Tailwind
colors: {
  custom: {
    50: '#a5b56c',
    500: '#7c962d',
    950: '#000000',
  },
}
SCSS
$custom: #7c962d;
$custom-light: #a5b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c962d",
  "rgb": {
    "r": 124,
    "g": 150,
    "b": 45
  },
  "hsl": {
    "h": 74.857,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63224,
    "c": 0.13292,
    "h": 122.4
  },
  "luminance": 0.26287
}

Semantic roles & 50–950 ramp

primary
#7C962D
secondary
#7A65B9
accent
#4BDD6F
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7C962D

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

Preview Lab → · Contrast checker → · Palette generator →

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