#7C941C#7C941C

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

Color values

HEX#7C941C
RGBrgb(124, 148, 28)
HSLhsl(72, 68%, 35%)
HSVhsv(72, 81%, 58%)
CMYKcmyk(16.2%, 0%, 81.1%, 42%)
CIE-LABlab(57.61, -24.34, 55.18)
CIE-LCHlch(57.61, 60.31, 113.80°)
OKLaboklab(62.63% -0.0723 0.1206)
OKLCHoklch(62.63% 0.141 121)
XYZxyz(19.1120, 25.5488, 5.0229)
Luminance0.2555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C941C #341C94
analogous
#94701C #7C941C #40941C
triadic
#7C941C #1C7C94 #941C7C
tetradic
#7C941C #1C9470 #341C94 #941C40
square
#7C941C #1C9470 #341C94 #941C40
split-complementary
#7C941C #1C4094 #701C94
monochromatic
#262D09 #516112 #7C941C #A7C726 #C0DD4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7c941c;
/* rgb */ color: rgb(124, 148, 28);
/* oklch */ color: oklch(62.6% 0.141 121.0);
Tailwind
colors: {
  custom: {
    50: '#a5b364',
    500: '#7c941c',
    950: '#000000',
  },
}
SCSS
$custom: #7c941c;
$custom-light: #a5b364;
$custom-dark: #000000;
JSON
{
  "hex": "#7c941c",
  "rgb": {
    "r": 124,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 72,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62625,
    "c": 0.1406,
    "h": 121
  },
  "luminance": 0.25549
}

Semantic roles & 50–950 ramp

primary
#7C941C
secondary
#634CC0
accent
#3DEB60
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C941C

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

Preview Lab → · Contrast checker → · Palette generator →

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