#7C9D2A#7C9D2A

#7C9D2A is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.9% C 0.144 H 124.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7C9D2A
RGBrgb(124, 157, 42)
HSLhsl(77, 58%, 39%)
HSVhsv(77, 73%, 62%)
CMYKcmyk(21%, 0%, 73.2%, 38.4%)
CIE-LABlab(60.40, -28.05, 53.12)
CIE-LCHlch(60.40, 60.07, 117.84°)
OKLaboklab(64.91% -0.0813 0.1186)
OKLCHoklch(64.91% 0.144 124.4)
XYZxyz(20.7873, 28.5660, 6.6087)
Luminance0.2857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9D2A #4B2A9D
analogous
#9D852A #7C9D2A #439D2A
triadic
#7C9D2A #2A7C9D #9D2A7C
tetradic
#7C9D2A #2A9D85 #4B2A9D #9D2A43
square
#7C9D2A #2A9D85 #4B2A9D #9D2A43
split-complementary
#7C9D2A #2A439D #852A9D
monochromatic
#303C10 #566D1D #7C9D2A #A1CA3A #B8D76A

Accessibility & contrast

On white

3.13
#7C9D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#7C9D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9D2A
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9D2A#FFFFFF#000000##000000
##7C9D2A1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69315
Deuteranopia (green-blind)
#A29134
Tritanopia (blue-blind)
#829587
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7c9d2a;
/* rgb */ color: rgb(124, 157, 42);
/* oklch */ color: oklch(64.9% 0.144 124.4);
Tailwind
colors: {
  custom: {
    50: '#a5ba6c',
    500: '#7c9d2a',
    950: '#000000',
  },
}
SCSS
$custom: #7c9d2a;
$custom-light: #a5ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9d2a",
  "rgb": {
    "r": 124,
    "g": 157,
    "b": 42
  },
  "hsl": {
    "h": 77.217,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64905,
    "c": 0.14383,
    "h": 124.4
  },
  "luminance": 0.28566
}

Semantic roles & 50–950 ramp

primary
#7C9D2A
secondary
#7F65BE
accent
#47E173
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7C9D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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