#7A9D2B#7A9D2B

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

Color values

HEX#7A9D2B
RGBrgb(122, 157, 43)
HSLhsl(78, 57%, 39%)
HSVhsv(78, 73%, 62%)
CMYKcmyk(22.3%, 0%, 72.6%, 38.4%)
CIE-LABlab(60.27, -28.81, 52.58)
CIE-LCHlch(60.27, 59.96, 118.72°)
OKLaboklab(64.77% -0.0832 0.1177)
OKLCHoklch(64.77% 0.144 125.3)
XYZxyz(20.5192, 28.4257, 6.6907)
Luminance0.2843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9D2B #4E2B9D
analogous
#9D872B #7A9D2B #419D2B
triadic
#7A9D2B #2B7A9D #9D2B7A
tetradic
#7A9D2B #2B9D87 #4E2B9D #9D2B41
square
#7A9D2B #2B9D87 #4E2B9D #9D2B41
split-complementary
#7A9D2B #2B419D #872B9D
monochromatic
#2F3D11 #556D1E #7A9D2B #9ECA3C #B6D76C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A9D2B#FFFFFF#000000##000000
##7A9D2B1.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)
#A69317
Deuteranopia (green-blind)
#A19135
Tritanopia (blue-blind)
#809587
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7a9d2b;
/* rgb */ color: rgb(122, 157, 43);
/* oklch */ color: oklch(64.8% 0.144 125.3);
Tailwind
colors: {
  custom: {
    50: '#a4ba6c',
    500: '#7a9d2b',
    950: '#000000',
  },
}
SCSS
$custom: #7a9d2b;
$custom-light: #a4ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9d2b",
  "rgb": {
    "r": 122,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 78.421,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64772,
    "c": 0.14415,
    "h": 125.3
  },
  "luminance": 0.28426
}

Semantic roles & 50–950 ramp

primary
#7A9D2B
secondary
#8166BD
accent
#48E076
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7A9D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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