#7D951D#7D951D

#7D951D is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.9% C 0.141 H 120.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7D951D
RGBrgb(125, 149, 29)
HSLhsl(72, 67%, 35%)
HSVhsv(72, 81%, 58%)
CMYKcmyk(16.1%, 0%, 80.5%, 41.6%)
CIE-LABlab(57.98, -24.37, 55.25)
CIE-LCHlch(57.98, 60.38, 113.80°)
OKLaboklab(62.95% -0.0724 0.1209)
OKLCHoklch(62.95% 0.141 120.9)
XYZxyz(19.4270, 25.9436, 5.1463)
Luminance0.2594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D951D #351D95
analogous
#95711D #7D951D #41951D
triadic
#7D951D #1D7D95 #951D7D
tetradic
#7D951D #1D9571 #351D95 #951D41
square
#7D951D #1D9571 #351D95 #951D41
split-complementary
#7D951D #1D4195 #711D95
monochromatic
#272F09 #526213 #7D951D #A8C827 #C1DD50

Accessibility & contrast

On white

3.39
#7D951D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#7D951D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D951D
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D951D#FFFFFF#000000##000000
##7D951D1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9C8B29
Tritanopia (blue-blind)
#848D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7d951d;
/* rgb */ color: rgb(125, 149, 29);
/* oklch */ color: oklch(62.9% 0.141 120.9);
Tailwind
colors: {
  custom: {
    50: '#a6b465',
    500: '#7d951d',
    950: '#000000',
  },
}
SCSS
$custom: #7d951d;
$custom-light: #a6b465;
$custom-dark: #000000;
JSON
{
  "hex": "#7d951d",
  "rgb": {
    "r": 125,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 72,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6295,
    "c": 0.14087,
    "h": 120.9
  },
  "luminance": 0.25944
}

Semantic roles & 50–950 ramp

primary
#7D951D
secondary
#654EC0
accent
#3DEA60
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D951D

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

Preview Lab → · Contrast checker → · Palette generator →

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