#7A9C1D#7A9C1D

#7A9C1D is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.4% C 0.151 H 124.3°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7A9C1D
RGBrgb(122, 156, 29)
HSLhsl(76, 69%, 36%)
HSVhsv(76, 81%, 61%)
CMYKcmyk(21.8%, 0%, 81.4%, 38.8%)
CIE-LABlab(59.89, -29.05, 56.89)
CIE-LCHlch(59.89, 63.87, 117.05°)
OKLaboklab(64.44% -0.085 0.1244)
OKLCHoklch(64.44% 0.151 124.3)
XYZxyz(20.1365, 28.0030, 5.5064)
Luminance0.2800 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9C1D #3F1D9C
analogous
#9C7F1D #7A9C1D #3B9C1D
triadic
#7A9C1D #1D7A9C #9C1D7A
tetradic
#7A9C1D #1D9C7F #3F1D9C #9C1D3B
square
#7A9C1D #1D9C7F #3F1D9C #9C1D3B
split-complementary
#7A9C1D #1D3B9C #7F1D9C
monochromatic
#29350A #526813 #7A9C1D #A2D027 #BADF54

Accessibility & contrast

On white

3.18
#7A9C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#7A9C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9C1D
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9C1D#FFFFFF#000000##000000
##7A9C1D1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A1902B
Tritanopia (blue-blind)
#809485
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7a9c1d;
/* rgb */ color: rgb(122, 156, 29);
/* oklch */ color: oklch(64.4% 0.151 124.3);
Tailwind
colors: {
  custom: {
    50: '#a4b966',
    500: '#7a9c1d',
    950: '#000000',
  },
}
SCSS
$custom: #7a9c1d;
$custom-light: #a4b966;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9c1d",
  "rgb": {
    "r": 122,
    "g": 156,
    "b": 29
  },
  "hsl": {
    "h": 76.063,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64439,
    "c": 0.15068,
    "h": 124.3
  },
  "luminance": 0.28003
}

Semantic roles & 50–950 ramp

primary
#7A9C1D
secondary
#7052C2
accent
#3CEB6B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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