#7D951A#7D951A

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

Color values

HEX#7D951A
RGBrgb(125, 149, 26)
HSLhsl(72, 70%, 34%)
HSVhsv(72, 83%, 58%)
CMYKcmyk(16.1%, 0%, 82.6%, 41.6%)
CIE-LABlab(57.97, -24.49, 56.10)
CIE-LCHlch(57.97, 61.22, 113.58°)
OKLaboklab(62.93% -0.0729 0.1222)
OKLCHoklch(62.93% 0.142 120.8)
XYZxyz(19.3917, 25.9295, 4.9604)
Luminance0.2593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D951A #321A95
analogous
#95701A #7D951A #40951A
triadic
#7D951A #1A7D95 #951A7D
tetradic
#7D951A #1A9570 #321A95 #951A40
square
#7D951A #1A9570 #321A95 #951A40
split-complementary
#7D951A #1A4095 #701A95
monochromatic
#262D08 #516111 #7D951A #A9C923 #C2DF4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7d951a;
/* rgb */ color: rgb(125, 149, 26);
/* oklch */ color: oklch(62.9% 0.142 120.8);
Tailwind
colors: {
  custom: {
    50: '#a6b463',
    500: '#7d951a',
    950: '#000000',
  },
}
SCSS
$custom: #7d951a;
$custom-light: #a6b463;
$custom-dark: #000000;
JSON
{
  "hex": "#7d951a",
  "rgb": {
    "r": 125,
    "g": 149,
    "b": 26
  },
  "hsl": {
    "h": 71.707,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62934,
    "c": 0.14227,
    "h": 120.8
  },
  "luminance": 0.25929
}

Semantic roles & 50–950 ramp

primary
#7D951A
secondary
#614AC1
accent
#3BED5E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D951A

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

Preview Lab → · Contrast checker → · Palette generator →

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