#7D962F#7D962F

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

Color values

HEX#7D962F
RGBrgb(125, 150, 47)
HSLhsl(75, 52%, 39%)
HSVhsv(75, 69%, 59%)
CMYKcmyk(16.7%, 0%, 68.7%, 41.2%)
CIE-LABlab(58.39, -23.88, 49.18)
CIE-LCHlch(58.39, 54.67, 115.90°)
OKLaboklab(63.32% -0.0695 0.1111)
OKLCHoklch(63.32% 0.131 122)
XYZxyz(19.8771, 26.3779, 6.7330)
Luminance0.2638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D962F #482F96
analogous
#967B2F #7D962F #49962F
triadic
#7D962F #2F7D96 #962F7D
tetradic
#7D962F #2F967B #482F96 #962F49
square
#7D962F #2F967B #482F96 #962F49
split-complementary
#7D962F #2F4996 #7B2F96
monochromatic
#2F3912 #566720 #7D962F #A3C33F #B9D26E

Accessibility & contrast

On white

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

On black

6.28
#7D962F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D962F
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D962F#FFFFFF#000000##000000
##7D962F1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d962f;
/* rgb */ color: rgb(125, 150, 47);
/* oklch */ color: oklch(63.3% 0.131 122.0);
Tailwind
colors: {
  custom: {
    50: '#a5b56e',
    500: '#7d962f',
    950: '#000000',
  },
}
SCSS
$custom: #7d962f;
$custom-light: #a5b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d962f",
  "rgb": {
    "r": 125,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 74.563,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63316,
    "c": 0.13104,
    "h": 122
  },
  "luminance": 0.26378
}

Semantic roles & 50–950 ramp

primary
#7D962F
secondary
#7C68B9
accent
#4CDC6F
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D962F

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

Preview Lab → · Contrast checker → · Palette generator →

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