#7C941F#7C941F

#7C941F is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.6% C 0.139 H 121.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7C941F
RGBrgb(124, 148, 31)
HSLhsl(72, 65%, 35%)
HSVhsv(72, 79%, 58%)
CMYKcmyk(16.2%, 0%, 79.1%, 42%)
CIE-LABlab(57.62, -24.21, 54.27)
CIE-LCHlch(57.62, 59.43, 114.04°)
OKLaboklab(62.64% -0.0717 0.1192)
OKLCHoklch(62.64% 0.139 121)
XYZxyz(19.1498, 25.5638, 5.2215)
Luminance0.2556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C941F #371F94
analogous
#94721F #7C941F #41941F
triadic
#7C941F #1F7C94 #941F7C
tetradic
#7C941F #1F9472 #371F94 #941F41
square
#7C941F #1F9472 #371F94 #941F41
split-complementary
#7C941F #1F4194 #721F94
monochromatic
#272F0A #526114 #7C941F #A6C72A #BFDB53

Accessibility & contrast

On white

3.44
#7C941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#7C941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C941F
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C941F#FFFFFF#000000##000000
##7C941F1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9B8B2A
Tritanopia (blue-blind)
#838C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c941f;
/* rgb */ color: rgb(124, 148, 31);
/* oklch */ color: oklch(62.6% 0.139 121.0);
Tailwind
colors: {
  custom: {
    50: '#a5b365',
    500: '#7c941f',
    950: '#000000',
  },
}
SCSS
$custom: #7c941f;
$custom-light: #a5b365;
$custom-dark: #000000;
JSON
{
  "hex": "#7c941f",
  "rgb": {
    "r": 124,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 72.308,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62642,
    "c": 0.1391,
    "h": 121
  },
  "luminance": 0.25564
}

Semantic roles & 50–950 ramp

primary
#7C941F
secondary
#6751BE
accent
#3FE862
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C941F

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

Preview Lab → · Contrast checker → · Palette generator →

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