#7C9E2A#7C9E2A

#7C9E2A is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 65.1% C 0.145 H 124.7°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7C9E2A
RGBrgb(124, 158, 42)
HSLhsl(78, 58%, 39%)
HSVhsv(78, 73%, 62%)
CMYKcmyk(21.5%, 0%, 73.4%, 38%)
CIE-LABlab(60.70, -28.53, 53.42)
CIE-LCHlch(60.70, 60.56, 118.11°)
OKLaboklab(65.15% -0.0827 0.1192)
OKLCHoklch(65.15% 0.145 124.7)
XYZxyz(20.9571, 28.9058, 6.6653)
Luminance0.2891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9E2A #4C2A9E
analogous
#9E862A #7C9E2A #429E2A
triadic
#7C9E2A #2A7C9E #9E2A7C
tetradic
#7C9E2A #2A9E86 #4C2A9E #9E2A42
square
#7C9E2A #2A9E86 #4C2A9E #9E2A42
split-complementary
#7C9E2A #2A429E #862A9E
monochromatic
#303D10 #566E1D #7C9E2A #A0CB3A #B8D86B

Accessibility & contrast

On white

3.10
#7C9E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#7C9E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9E2A
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9E2A#FFFFFF#000000##000000
##7C9E2A1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79414
Deuteranopia (green-blind)
#A29234
Tritanopia (blue-blind)
#829688
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7c9e2a;
/* rgb */ color: rgb(124, 158, 42);
/* oklch */ color: oklch(65.1% 0.145 124.7);
Tailwind
colors: {
  custom: {
    50: '#a5ba6c',
    500: '#7c9e2a',
    950: '#000000',
  },
}
SCSS
$custom: #7c9e2a;
$custom-light: #a5ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9e2a",
  "rgb": {
    "r": 124,
    "g": 158,
    "b": 42
  },
  "hsl": {
    "h": 77.586,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65149,
    "c": 0.14509,
    "h": 124.7
  },
  "luminance": 0.28906
}

Semantic roles & 50–950 ramp

primary
#7C9E2A
secondary
#8066BE
accent
#47E174
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7C9E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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