#7A9D2D#7A9D2D

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

Color values

HEX#7A9D2D
RGBrgb(122, 157, 45)
HSLhsl(79, 55%, 40%)
HSVhsv(79, 71%, 62%)
CMYKcmyk(22.3%, 0%, 71.3%, 38.4%)
CIE-LABlab(60.28, -28.68, 51.83)
CIE-LCHlch(60.28, 59.24, 118.96°)
OKLaboklab(64.79% -0.0827 0.1164)
OKLCHoklch(64.79% 0.143 125.4)
XYZxyz(20.5568, 28.4407, 6.8887)
Luminance0.2844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9D2D #502D9D
analogous
#9D882D #7A9D2D #429D2D
triadic
#7A9D2D #2D7A9D #9D2D7A
tetradic
#7A9D2D #2D9D88 #502D9D #9D2D42
square
#7A9D2D #2D9D88 #502D9D #9D2D42
split-complementary
#7A9D2D #2D429D #882D9D
monochromatic
#303E12 #556D1F #7A9D2D #9DC83F #B5D66F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A9D2D#FFFFFF#000000##000000
##7A9D2D1.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)
#A6931A
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#7F9587
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7a9d2d;
/* rgb */ color: rgb(122, 157, 45);
/* oklch */ color: oklch(64.8% 0.143 125.4);
Tailwind
colors: {
  custom: {
    50: '#a4ba6d',
    500: '#7a9d2d',
    950: '#000000',
  },
}
SCSS
$custom: #7a9d2d;
$custom-light: #a4ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9d2d",
  "rgb": {
    "r": 122,
    "g": 157,
    "b": 45
  },
  "hsl": {
    "h": 78.75,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64787,
    "c": 0.14283,
    "h": 125.4
  },
  "luminance": 0.28441
}

Semantic roles & 50–950 ramp

primary
#7A9D2D
secondary
#8369BD
accent
#49DF78
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7A9D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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