#7D951F#7D951F

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

Color values

HEX#7D951F
RGBrgb(125, 149, 31)
HSLhsl(72, 66%, 35%)
HSVhsv(72, 79%, 58%)
CMYKcmyk(16.1%, 0%, 79.2%, 41.6%)
CIE-LABlab(57.99, -24.28, 54.64)
CIE-LCHlch(57.99, 59.79, 113.96°)
OKLaboklab(62.96% -0.072 0.1199)
OKLCHoklch(62.96% 0.14 121)
XYZxyz(19.4526, 25.9538, 5.2809)
Luminance0.2595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D951F #371F95
analogous
#95721F #7D951F #42951F
triadic
#7D951F #1F7D95 #951F7D
tetradic
#7D951F #1F9572 #371F95 #951F42
square
#7D951F #1F9572 #371F95 #951F42
split-complementary
#7D951F #1F4295 #721F95
monochromatic
#28300A #536214 #7D951F #A8C82A #C0DB53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7d951f;
/* rgb */ color: rgb(125, 149, 31);
/* oklch */ color: oklch(63.0% 0.140 121.0);
Tailwind
colors: {
  custom: {
    50: '#a6b465',
    500: '#7d951f',
    950: '#000000',
  },
}
SCSS
$custom: #7d951f;
$custom-light: #a6b465;
$custom-dark: #000000;
JSON
{
  "hex": "#7d951f",
  "rgb": {
    "r": 125,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 72.203,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62961,
    "c": 0.13986,
    "h": 121
  },
  "luminance": 0.25954
}

Semantic roles & 50–950 ramp

primary
#7D951F
secondary
#6751BF
accent
#3FE962
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D951F

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

Preview Lab → · Contrast checker → · Palette generator →

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