#7C951E#7C951E

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

Color values

HEX#7C951E
RGBrgb(124, 149, 30)
HSLhsl(73, 66%, 35%)
HSVhsv(73, 80%, 58%)
CMYKcmyk(16.8%, 0%, 79.9%, 41.6%)
CIE-LABlab(57.92, -24.75, 54.85)
CIE-LCHlch(57.92, 60.18, 114.29°)
OKLaboklab(62.88% -0.0733 0.1202)
OKLCHoklch(62.88% 0.141 121.4)
XYZxyz(19.2943, 25.8737, 5.2057)
Luminance0.2587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C951E #371E95
analogous
#95721E #7C951E #41951E
triadic
#7C951E #1E7C95 #951E7C
tetradic
#7C951E #1E9572 #371E95 #951E41
square
#7C951E #1E9572 #371E95 #951E41
split-complementary
#7C951E #1E4195 #721E95
monochromatic
#272F09 #526214 #7C951E #A6C828 #BFDC51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C951E#FFFFFF#000000##000000
##7C951E1.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)
#9B8B2A
Tritanopia (blue-blind)
#838D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7c951e;
/* rgb */ color: rgb(124, 149, 30);
/* oklch */ color: oklch(62.9% 0.141 121.4);
Tailwind
colors: {
  custom: {
    50: '#a5b465',
    500: '#7c951e',
    950: '#000000',
  },
}
SCSS
$custom: #7c951e;
$custom-light: #a5b465;
$custom-dark: #000000;
JSON
{
  "hex": "#7c951e",
  "rgb": {
    "r": 124,
    "g": 149,
    "b": 30
  },
  "hsl": {
    "h": 72.605,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62879,
    "c": 0.14081,
    "h": 121.4
  },
  "luminance": 0.25874
}

Semantic roles & 50–950 ramp

primary
#7C951E
secondary
#6750BF
accent
#3EE962
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C951E

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

Preview Lab → · Contrast checker → · Palette generator →

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