#7D962D#7D962D

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

Color values

HEX#7D962D
RGBrgb(125, 150, 45)
HSLhsl(74, 54%, 38%)
HSVhsv(74, 70%, 59%)
CMYKcmyk(16.7%, 0%, 70%, 41.2%)
CIE-LABlab(58.38, -24.01, 49.97)
CIE-LCHlch(58.38, 55.44, 115.66°)
OKLaboklab(63.3% -0.07 0.1125)
OKLCHoklch(63.3% 0.132 121.9)
XYZxyz(19.8377, 26.3621, 6.5254)
Luminance0.2636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D962D #462D96
analogous
#967A2D #7D962D #48962D
triadic
#7D962D #2D7D96 #962D7D
tetradic
#7D962D #2D967A #462D96 #962D48
square
#7D962D #2D967A #462D96 #962D48
split-complementary
#7D962D #2D4896 #7A2D96
monochromatic
#2F3811 #56671F #7D962D #A4C43C #BAD36B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7d962d;
/* rgb */ color: rgb(125, 150, 45);
/* oklch */ color: oklch(63.3% 0.132 121.9);
Tailwind
colors: {
  custom: {
    50: '#a5b56c',
    500: '#7d962d',
    950: '#000000',
  },
}
SCSS
$custom: #7d962d;
$custom-light: #a5b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d962d",
  "rgb": {
    "r": 125,
    "g": 150,
    "b": 45
  },
  "hsl": {
    "h": 74.286,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63299,
    "c": 0.13249,
    "h": 121.9
  },
  "luminance": 0.26362
}

Semantic roles & 50–950 ramp

primary
#7D962D
secondary
#7965B9
accent
#4BDD6D
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D962D

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

Preview Lab → · Contrast checker → · Palette generator →

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