#7C941A#7C941A

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

Color values

HEX#7C941A
RGBrgb(124, 148, 26)
HSLhsl(72, 70%, 34%)
HSVhsv(72, 82%, 58%)
CMYKcmyk(16.2%, 0%, 82.4%, 42%)
CIE-LABlab(57.60, -24.42, 55.75)
CIE-LCHlch(57.60, 60.86, 113.66°)
OKLaboklab(62.61% -0.0727 0.1214)
OKLCHoklch(62.61% 0.142 120.9)
XYZxyz(19.0889, 25.5395, 4.9011)
Luminance0.2554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C941A #321A94
analogous
#946F1A #7C941A #3F941A
triadic
#7C941A #1A7C94 #941A7C
tetradic
#7C941A #1A946F #321A94 #941A3F
square
#7C941A #1A946F #321A94 #941A3F
split-complementary
#7C941A #1A3F94 #6F1A94
monochromatic
#252C08 #506011 #7C941A #A8C823 #C2DF49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C941A#FFFFFF#000000##000000
##7C941A1.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)
#9B8A27
Tritanopia (blue-blind)
#838C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c941a;
/* rgb */ color: rgb(124, 148, 26);
/* oklch */ color: oklch(62.6% 0.142 120.9);
Tailwind
colors: {
  custom: {
    50: '#a6b363',
    500: '#7c941a',
    950: '#000000',
  },
}
SCSS
$custom: #7c941a;
$custom-light: #a6b363;
$custom-dark: #000000;
JSON
{
  "hex": "#7c941a",
  "rgb": {
    "r": 124,
    "g": 148,
    "b": 26
  },
  "hsl": {
    "h": 71.803,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62615,
    "c": 0.14152,
    "h": 120.9
  },
  "luminance": 0.25539
}

Semantic roles & 50–950 ramp

primary
#7C941A
secondary
#6149C1
accent
#3BED5E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C941A

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

Preview Lab → · Contrast checker → · Palette generator →

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