#7D962B#7D962B

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

Color values

HEX#7D962B
RGBrgb(125, 150, 43)
HSLhsl(74, 55%, 38%)
HSVhsv(74, 71%, 59%)
CMYKcmyk(16.7%, 0%, 71.3%, 41.2%)
CIE-LABlab(58.37, -24.14, 50.75)
CIE-LCHlch(58.37, 56.20, 115.44°)
OKLaboklab(63.28% -0.0706 0.1138)
OKLCHoklch(63.28% 0.134 121.8)
XYZxyz(19.8001, 26.3471, 6.3274)
Luminance0.2635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D962B #442B96
analogous
#96792B #7D962B #47962B
triadic
#7D962B #2B7D96 #962B7D
tetradic
#7D962B #2B9679 #442B96 #962B47
square
#7D962B #2B9679 #442B96 #962B47
split-complementary
#7D962B #2B4796 #792B96
monochromatic
#2E3710 #55661D #7D962B #A5C639 #BAD468

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D962B#FFFFFF#000000##000000
##7D962B1.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)
#9F8D19
Deuteranopia (green-blind)
#9C8C34
Tritanopia (blue-blind)
#848E81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7d962b;
/* rgb */ color: rgb(125, 150, 43);
/* oklch */ color: oklch(63.3% 0.134 121.8);
Tailwind
colors: {
  custom: {
    50: '#a6b56b',
    500: '#7d962b',
    950: '#000000',
  },
}
SCSS
$custom: #7d962b;
$custom-light: #a6b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d962b",
  "rgb": {
    "r": 125,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 74.019,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63283,
    "c": 0.13387,
    "h": 121.8
  },
  "luminance": 0.26347
}

Semantic roles & 50–950 ramp

primary
#7D962B
secondary
#7763BA
accent
#49DF6C
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D962B

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

Preview Lab → · Contrast checker → · Palette generator →

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