#7C992F#7C992F

#7C992F is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 64.0% C 0.135 H 123.5°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7C992F
RGBrgb(124, 153, 47)
HSLhsl(76, 53%, 39%)
HSVhsv(76, 69%, 60%)
CMYKcmyk(19%, 0%, 69.3%, 40%)
CIE-LABlab(59.23, -25.78, 50.01)
CIE-LCHlch(59.23, 56.27, 117.27°)
OKLaboklab(63.97% -0.0747 0.1129)
OKLCHoklch(63.97% 0.135 123.5)
XYZxyz(20.2167, 27.2727, 6.8878)
Luminance0.2727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C992F #4C2F99
analogous
#99812F #7C992F #47992F
triadic
#7C992F #2F7C99 #992F7C
tetradic
#7C992F #2F9981 #4C2F99 #992F47
square
#7C992F #2F9981 #4C2F99 #992F47
split-complementary
#7C992F #2F4799 #812F99
monochromatic
#303B12 #566A21 #7C992F #A0C541 #B8D36F

Accessibility & contrast

On white

3.25
#7C992F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C992F#FFFFFF#000000##000000
##7C992F1.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F1F
Deuteranopia (green-blind)
#9E8E37
Tritanopia (blue-blind)
#829184
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7c992f;
/* rgb */ color: rgb(124, 153, 47);
/* oklch */ color: oklch(64.0% 0.135 123.5);
Tailwind
colors: {
  custom: {
    50: '#a5b76e',
    500: '#7c992f',
    950: '#000000',
  },
}
SCSS
$custom: #7c992f;
$custom-light: #a5b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c992f",
  "rgb": {
    "r": 124,
    "g": 153,
    "b": 47
  },
  "hsl": {
    "h": 76.415,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63969,
    "c": 0.13534,
    "h": 123.5
  },
  "luminance": 0.27273
}

Semantic roles & 50–950 ramp

primary
#7C992F
secondary
#8069BA
accent
#4BDC73
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7C992F

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

Preview Lab → · Contrast checker → · Palette generator →

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