#7C9E1A#7C9E1A

#7C9E1A is a light, vivid yellow-green. Relative luminance 0.288; OKLCH L 65.1% C 0.153 H 124.1°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7C9E1A
RGBrgb(124, 158, 26)
HSLhsl(75, 72%, 36%)
HSVhsv(75, 84%, 62%)
CMYKcmyk(21.5%, 0%, 83.5%, 38%)
CIE-LABlab(60.62, -29.29, 58.41)
CIE-LCHlch(60.62, 65.34, 116.64°)
OKLaboklab(65.06% -0.086 0.1271)
OKLCHoklch(65.06% 0.153 124.1)
XYZxyz(20.7257, 28.8132, 5.4467)
Luminance0.2881 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9E1A #3C1A9E
analogous
#9E7E1A #7C9E1A #3A9E1A
triadic
#7C9E1A #1A7C9E #9E1A7C
tetradic
#7C9E1A #1A9E7E #3C1A9E #9E1A3A
square
#7C9E1A #1A9E7E #3C1A9E #9E1A3A
split-complementary
#7C9E1A #1A3A9E #7E1A9E
monochromatic
#2A3509 #536911 #7C9E1A #A5D323 #BDE250

Accessibility & contrast

On white

3.11
#7C9E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#7C9E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9E1A
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9E1A#FFFFFF#000000##000000
##7C9E1A1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A39229
Tritanopia (blue-blind)
#829687
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7c9e1a;
/* rgb */ color: rgb(124, 158, 26);
/* oklch */ color: oklch(65.1% 0.153 124.1);
Tailwind
colors: {
  custom: {
    50: '#a6ba65',
    500: '#7c9e1a',
    950: '#000000',
  },
}
SCSS
$custom: #7c9e1a;
$custom-light: #a6ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9e1a",
  "rgb": {
    "r": 124,
    "g": 158,
    "b": 26
  },
  "hsl": {
    "h": 75.455,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65057,
    "c": 0.15345,
    "h": 124.1
  },
  "luminance": 0.28813
}

Semantic roles & 50–950 ramp

primary
#7C9E1A
secondary
#6D4FC5
accent
#39EE68
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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