#7C951F#7C951F

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

Color values

HEX#7C951F
RGBrgb(124, 149, 31)
HSLhsl(73, 66%, 35%)
HSVhsv(73, 79%, 58%)
CMYKcmyk(16.8%, 0%, 79.2%, 41.6%)
CIE-LABlab(57.92, -24.71, 54.55)
CIE-LCHlch(57.92, 59.88, 114.37°)
OKLaboklab(62.89% -0.0731 0.1198)
OKLCHoklch(62.89% 0.14 121.4)
XYZxyz(19.3073, 25.8789, 5.2740)
Luminance0.2588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C951F #381F95
analogous
#95731F #7C951F #41951F
triadic
#7C951F #1F7C95 #951F7C
tetradic
#7C951F #1F9573 #381F95 #951F41
square
#7C951F #1F9573 #381F95 #951F41
split-complementary
#7C951F #1F4195 #731F95
monochromatic
#28300A #526214 #7C951F #A6C82A #BEDB53

Accessibility & contrast

On white

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

On black

6.18
#7C951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C951F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C951F#FFFFFF#000000##000000
##7C951F1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c951f;
/* rgb */ color: rgb(124, 149, 31);
/* oklch */ color: oklch(62.9% 0.140 121.4);
Tailwind
colors: {
  custom: {
    50: '#a5b465',
    500: '#7c951f',
    950: '#000000',
  },
}
SCSS
$custom: #7c951f;
$custom-light: #a5b465;
$custom-dark: #000000;
JSON
{
  "hex": "#7c951f",
  "rgb": {
    "r": 124,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 72.712,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62885,
    "c": 0.1403,
    "h": 121.4
  },
  "luminance": 0.25879
}

Semantic roles & 50–950 ramp

primary
#7C951F
secondary
#6851BF
accent
#3FE963
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C951F

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

Preview Lab → · Contrast checker → · Palette generator →

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