#7C9D1A#7C9D1A

#7C9D1A is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.8% C 0.152 H 123.8°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7C9D1A
RGBrgb(124, 157, 26)
HSLhsl(75, 72%, 36%)
HSVhsv(75, 83%, 62%)
CMYKcmyk(21%, 0%, 83.4%, 38.4%)
CIE-LABlab(60.31, -28.81, 58.14)
CIE-LCHlch(60.31, 64.89, 116.36°)
OKLaboklab(64.81% -0.0847 0.1265)
OKLCHoklch(64.81% 0.152 123.8)
XYZxyz(20.5559, 28.4734, 5.3901)
Luminance0.2847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9D1A #3B1A9D
analogous
#9D7C1A #7C9D1A #3A9D1A
triadic
#7C9D1A #1A7C9D #9D1A7C
tetradic
#7C9D1A #1A9D7C #3B1A9D #9D1A3A
square
#7C9D1A #1A9D7C #3B1A9D #9D1A3A
split-complementary
#7C9D1A #1A3A9D #7C1A9D
monochromatic
#293409 #536811 #7C9D1A #A5D223 #BDE24F

Accessibility & contrast

On white

3.14
#7C9D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#7C9D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9D1A
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9D1A#FFFFFF#000000##000000
##7C9D1A1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A29129
Tritanopia (blue-blind)
#839586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7c9d1a;
/* rgb */ color: rgb(124, 157, 26);
/* oklch */ color: oklch(64.8% 0.152 123.8);
Tailwind
colors: {
  custom: {
    50: '#a6ba65',
    500: '#7c9d1a',
    950: '#000000',
  },
}
SCSS
$custom: #7c9d1a;
$custom-light: #a6ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9d1a",
  "rgb": {
    "r": 124,
    "g": 157,
    "b": 26
  },
  "hsl": {
    "h": 75.115,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64812,
    "c": 0.15225,
    "h": 123.8
  },
  "luminance": 0.28474
}

Semantic roles & 50–950 ramp

primary
#7C9D1A
secondary
#6C4EC4
accent
#39EE67
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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