#7C942E#7C942E

#7C942E is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.7% C 0.130 H 121.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7C942E
RGBrgb(124, 148, 46)
HSLhsl(74, 53%, 38%)
HSVhsv(74, 69%, 58%)
CMYKcmyk(16.2%, 0%, 68.9%, 42%)
CIE-LABlab(57.71, -23.37, 48.87)
CIE-LCHlch(57.71, 54.17, 115.56°)
OKLaboklab(62.75% -0.0681 0.1103)
OKLCHoklch(62.75% 0.13 121.7)
XYZxyz(19.3955, 25.6621, 6.5157)
Luminance0.2566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C942E #462E94
analogous
#94792E #7C942E #49942E
triadic
#7C942E #2E7C94 #942E7C
tetradic
#7C942E #2E9479 #462E94 #942E49
square
#7C942E #2E9479 #462E94 #942E49
split-complementary
#7C942E #2E4994 #792E94
monochromatic
#2E3711 #55651F #7C942E #A3C33D #B9D16B

Accessibility & contrast

On white

3.42
#7C942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#7C942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C942E
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C942E#FFFFFF#000000##000000
##7C942E1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B1F
Deuteranopia (green-blind)
#9A8B36
Tritanopia (blue-blind)
#838C7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7c942e;
/* rgb */ color: rgb(124, 148, 46);
/* oklch */ color: oklch(62.7% 0.130 121.7);
Tailwind
colors: {
  custom: {
    50: '#a5b36d',
    500: '#7c942e',
    950: '#000000',
  },
}
SCSS
$custom: #7c942e;
$custom-light: #a5b36d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c942e",
  "rgb": {
    "r": 124,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 74.118,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62748,
    "c": 0.12964,
    "h": 121.7
  },
  "luminance": 0.25662
}

Semantic roles & 50–950 ramp

primary
#7C942E
secondary
#7966B8
accent
#4CDC6E
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7C942E

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

Preview Lab → · Contrast checker → · Palette generator →

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