#7D951E#7D951E

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

Color values

HEX#7D951E
RGBrgb(125, 149, 30)
HSLhsl(72, 66%, 35%)
HSVhsv(72, 80%, 58%)
CMYKcmyk(16.1%, 0%, 79.9%, 41.6%)
CIE-LABlab(57.99, -24.32, 54.95)
CIE-LCHlch(57.99, 60.09, 113.88°)
OKLaboklab(62.96% -0.0722 0.1204)
OKLCHoklch(62.96% 0.14 120.9)
XYZxyz(19.4396, 25.9486, 5.2125)
Luminance0.2595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D951E #361E95
analogous
#95721E #7D951E #41951E
triadic
#7D951E #1E7D95 #951E7D
tetradic
#7D951E #1E9572 #361E95 #951E41
square
#7D951E #1E9572 #361E95 #951E41
split-complementary
#7D951E #1E4195 #721E95
monochromatic
#282F09 #526214 #7D951E #A8C828 #C0DC51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D951E#FFFFFF#000000##000000
##7D951E1.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)
#9C8B2A
Tritanopia (blue-blind)
#848D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7d951e;
/* rgb */ color: rgb(125, 149, 30);
/* oklch */ color: oklch(63.0% 0.140 120.9);
Tailwind
colors: {
  custom: {
    50: '#a6b465',
    500: '#7d951e',
    950: '#000000',
  },
}
SCSS
$custom: #7d951e;
$custom-light: #a6b465;
$custom-dark: #000000;
JSON
{
  "hex": "#7d951e",
  "rgb": {
    "r": 125,
    "g": 149,
    "b": 30
  },
  "hsl": {
    "h": 72.101,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62955,
    "c": 0.14038,
    "h": 120.9
  },
  "luminance": 0.25949
}

Semantic roles & 50–950 ramp

primary
#7D951E
secondary
#6650BF
accent
#3EE961
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D951E

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

Preview Lab → · Contrast checker → · Palette generator →

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