#7D962A#7D962A

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

Color values

HEX#7D962A
RGBrgb(125, 150, 42)
HSLhsl(74, 56%, 38%)
HSVhsv(74, 72%, 59%)
CMYKcmyk(16.7%, 0%, 72%, 41.2%)
CIE-LABlab(58.36, -24.20, 51.13)
CIE-LCHlch(58.36, 56.57, 115.33°)
OKLaboklab(63.28% -0.0708 0.1144)
OKLCHoklch(63.28% 0.135 121.8)
XYZxyz(19.7820, 26.3398, 6.2320)
Luminance0.2634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D962A #432A96
analogous
#96792A #7D962A #47962A
triadic
#7D962A #2A7D96 #962A7D
tetradic
#7D962A #2A9679 #432A96 #962A47
square
#7D962A #2A9679 #432A96 #962A47
split-complementary
#7D962A #2A4796 #792A96
monochromatic
#2D360F #55661D #7D962A #A5C637 #BBD466

Accessibility & contrast

On white

3.35
#7D962A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#7D962A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D962A
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D962A#FFFFFF#000000##000000
##7D962A1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D18
Deuteranopia (green-blind)
#9C8C33
Tritanopia (blue-blind)
#848E81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7d962a;
/* rgb */ color: rgb(125, 150, 42);
/* oklch */ color: oklch(63.3% 0.135 121.8);
Tailwind
colors: {
  custom: {
    50: '#a6b46b',
    500: '#7d962a',
    950: '#000000',
  },
}
SCSS
$custom: #7d962a;
$custom-light: #a6b46b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d962a",
  "rgb": {
    "r": 125,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 73.889,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63276,
    "c": 0.13456,
    "h": 121.8
  },
  "luminance": 0.2634
}

Semantic roles & 50–950 ramp

primary
#7D962A
secondary
#7661BA
accent
#48E06B
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D962A

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

Preview Lab → · Contrast checker → · Palette generator →

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