#7D951C#7D951C

#7D951C 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#7D951C
RGBrgb(125, 149, 28)
HSLhsl(72, 68%, 35%)
HSVhsv(72, 81%, 58%)
CMYKcmyk(16.1%, 0%, 81.2%, 41.6%)
CIE-LABlab(57.98, -24.41, 55.54)
CIE-LCHlch(57.98, 60.67, 113.72°)
OKLaboklab(62.94% -0.0726 0.1213)
OKLCHoklch(62.94% 0.141 120.9)
XYZxyz(19.4149, 25.9387, 5.0823)
Luminance0.2594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D951C #341C95
analogous
#95711C #7D951C #40951C
triadic
#7D951C #1C7D95 #951C7D
tetradic
#7D951C #1C9571 #341C95 #951C40
square
#7D951C #1C9571 #341C95 #951C40
split-complementary
#7D951C #1C4095 #711C95
monochromatic
#272E09 #526112 #7D951C #A8C926 #C1DE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D951C#FFFFFF#000000##000000
##7D951C1.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: #7d951c;
/* rgb */ color: rgb(125, 149, 28);
/* oklch */ color: oklch(62.9% 0.141 120.9);
Tailwind
colors: {
  custom: {
    50: '#a6b464',
    500: '#7d951c',
    950: '#000000',
  },
}
SCSS
$custom: #7d951c;
$custom-light: #a6b464;
$custom-dark: #000000;
JSON
{
  "hex": "#7d951c",
  "rgb": {
    "r": 125,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 71.901,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62944,
    "c": 0.14135,
    "h": 120.9
  },
  "luminance": 0.25939
}

Semantic roles & 50–950 ramp

primary
#7D951C
secondary
#644DC0
accent
#3DEB5F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D951C

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

Preview Lab → · Contrast checker → · Palette generator →

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