#7D962E#7D962E

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

Color values

HEX#7D962E
RGBrgb(125, 150, 46)
HSLhsl(74, 53%, 38%)
HSVhsv(74, 69%, 59%)
CMYKcmyk(16.7%, 0%, 69.3%, 41.2%)
CIE-LABlab(58.39, -23.95, 49.58)
CIE-LCHlch(58.39, 55.06, 115.78°)
OKLaboklab(63.31% -0.0698 0.1118)
OKLCHoklch(63.31% 0.132 122)
XYZxyz(19.8572, 26.3699, 6.6280)
Luminance0.2637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D962E #472E96
analogous
#967B2E #7D962E #49962E
triadic
#7D962E #2E7D96 #962E7D
tetradic
#7D962E #2E967B #472E96 #962E49
square
#7D962E #2E967B #472E96 #962E49
split-complementary
#7D962E #2E4996 #7B2E96
monochromatic
#2F3811 #566720 #7D962E #A3C43E #BAD26C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D962E#FFFFFF#000000##000000
##7D962E1.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)
#9F8D1E
Deuteranopia (green-blind)
#9C8C36
Tritanopia (blue-blind)
#848E81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7d962e;
/* rgb */ color: rgb(125, 150, 46);
/* oklch */ color: oklch(63.3% 0.132 122.0);
Tailwind
colors: {
  custom: {
    50: '#a5b56d',
    500: '#7d962e',
    950: '#000000',
  },
}
SCSS
$custom: #7d962e;
$custom-light: #a5b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d962e",
  "rgb": {
    "r": 125,
    "g": 150,
    "b": 46
  },
  "hsl": {
    "h": 74.423,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63307,
    "c": 0.13177,
    "h": 122
  },
  "luminance": 0.2637
}

Semantic roles & 50–950 ramp

primary
#7D962E
secondary
#7A67B9
accent
#4BDC6E
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D962E

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

Preview Lab → · Contrast checker → · Palette generator →

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