#7C951D#7C951D

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

Color values

HEX#7C951D
RGBrgb(124, 149, 29)
HSLhsl(73, 67%, 35%)
HSVhsv(73, 81%, 58%)
CMYKcmyk(16.8%, 0%, 80.5%, 41.6%)
CIE-LABlab(57.91, -24.80, 55.16)
CIE-LCHlch(57.91, 60.47, 114.21°)
OKLaboklab(62.87% -0.0735 0.1207)
OKLCHoklch(62.87% 0.141 121.3)
XYZxyz(19.2817, 25.8687, 5.1395)
Luminance0.2587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C951D #361D95
analogous
#95721D #7C951D #40951D
triadic
#7C951D #1D7C95 #951D7C
tetradic
#7C951D #1D9572 #361D95 #951D40
square
#7C951D #1D9572 #361D95 #951D40
split-complementary
#7C951D #1D4095 #721D95
monochromatic
#272F09 #516213 #7C951D #A7C827 #BFDD50

Accessibility & contrast

On white

3.40
#7C951D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#7C951D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C951D
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C951D#FFFFFF#000000##000000
##7C951D1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c951d;
/* rgb */ color: rgb(124, 149, 29);
/* oklch */ color: oklch(62.9% 0.141 121.3);
Tailwind
colors: {
  custom: {
    50: '#a5b465',
    500: '#7c951d',
    950: '#000000',
  },
}
SCSS
$custom: #7c951d;
$custom-light: #a5b465;
$custom-dark: #000000;
JSON
{
  "hex": "#7c951d",
  "rgb": {
    "r": 124,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 72.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62874,
    "c": 0.14131,
    "h": 121.3
  },
  "luminance": 0.25869
}

Semantic roles & 50–950 ramp

primary
#7C951D
secondary
#664EC0
accent
#3DEA61
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C951D

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

Preview Lab → · Contrast checker → · Palette generator →

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