#7A9D2C#7A9D2C

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

Color values

HEX#7A9D2C
RGBrgb(122, 157, 44)
HSLhsl(79, 56%, 39%)
HSVhsv(79, 72%, 62%)
CMYKcmyk(22.3%, 0%, 72%, 38.4%)
CIE-LABlab(60.28, -28.75, 52.21)
CIE-LCHlch(60.28, 59.60, 118.84°)
OKLaboklab(64.78% -0.083 0.1171)
OKLCHoklch(64.78% 0.143 125.3)
XYZxyz(20.5378, 28.4331, 6.7885)
Luminance0.2843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9D2C #4F2C9D
analogous
#9D882C #7A9D2C #429D2C
triadic
#7A9D2C #2C7A9D #9D2C7A
tetradic
#7A9D2C #2C9D88 #4F2C9D #9D2C42
square
#7A9D2C #2C9D88 #4F2C9D #9D2C42
split-complementary
#7A9D2C #2C429D #882C9D
monochromatic
#303D11 #556D1F #7A9D2C #9EC93D #B6D66D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A9D2C#FFFFFF#000000##000000
##7A9D2C1.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)
#A69319
Deuteranopia (green-blind)
#A19136
Tritanopia (blue-blind)
#7F9587
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7a9d2c;
/* rgb */ color: rgb(122, 157, 44);
/* oklch */ color: oklch(64.8% 0.143 125.3);
Tailwind
colors: {
  custom: {
    50: '#a4ba6d',
    500: '#7a9d2c',
    950: '#000000',
  },
}
SCSS
$custom: #7a9d2c;
$custom-light: #a4ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9d2c",
  "rgb": {
    "r": 122,
    "g": 157,
    "b": 44
  },
  "hsl": {
    "h": 78.584,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64779,
    "c": 0.14349,
    "h": 125.3
  },
  "luminance": 0.28433
}

Semantic roles & 50–950 ramp

primary
#7A9D2C
secondary
#8268BD
accent
#48E077
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7A9D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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