#7C992A#7C992A

#7C992A is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.9% C 0.139 H 123.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7C992A
RGBrgb(124, 153, 42)
HSLhsl(76, 57%, 38%)
HSVhsv(76, 73%, 60%)
CMYKcmyk(19%, 0%, 72.5%, 40%)
CIE-LABlab(59.19, -26.10, 51.93)
CIE-LCHlch(59.19, 58.12, 116.69°)
OKLaboklab(63.93% -0.076 0.1161)
OKLCHoklch(63.93% 0.139 123.2)
XYZxyz(20.1216, 27.2346, 6.3868)
Luminance0.2723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C992A #472A99
analogous
#997E2A #7C992A #44992A
triadic
#7C992A #2A7C99 #992A7C
tetradic
#7C992A #2A997E #472A99 #992A44
square
#7C992A #2A997E #472A99 #992A44
split-complementary
#7C992A #2A4499 #7E2A99
monochromatic
#2E3910 #55691D #7C992A #A3C838 #B9D668

Accessibility & contrast

On white

3.26
#7C992A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#7C992A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C992A
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C992A#FFFFFF#000000##000000
##7C992A1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F16
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#829183
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7c992a;
/* rgb */ color: rgb(124, 153, 42);
/* oklch */ color: oklch(63.9% 0.139 123.2);
Tailwind
colors: {
  custom: {
    50: '#a5b76b',
    500: '#7c992a',
    950: '#000000',
  },
}
SCSS
$custom: #7c992a;
$custom-light: #a5b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c992a",
  "rgb": {
    "r": 124,
    "g": 153,
    "b": 42
  },
  "hsl": {
    "h": 75.676,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.6393,
    "c": 0.13878,
    "h": 123.2
  },
  "luminance": 0.27235
}

Semantic roles & 50–950 ramp

primary
#7C992A
secondary
#7A63BC
accent
#48E06F
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7C992A

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

Preview Lab → · Contrast checker → · Palette generator →

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