#7A8A2D#7A8A2D

#7A8A2D is a mid, moderate yellow-green. Relative luminance 0.225; OKLCH L 60.2% C 0.118 H 118.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7A8A2D
RGBrgb(122, 138, 45)
HSLhsl(70, 51%, 36%)
HSVhsv(70, 67%, 54%)
CMYKcmyk(11.6%, 0%, 67.4%, 45.9%)
CIE-LABlab(54.56, -19.20, 45.97)
CIE-LCHlch(54.56, 49.82, 112.67°)
OKLaboklab(60.17% -0.0565 0.1041)
OKLCHoklch(60.17% 0.118 118.5)
XYZxyz(17.5885, 22.5041, 5.8993)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8A2D #3D2D8A
analogous
#8A6B2D #7A8A2D #4B8A2D
triadic
#7A8A2D #2D7A8A #8A2D7A
tetradic
#7A8A2D #2D8A6B #3D2D8A #8A2D4B
square
#7A8A2D #2D8A6B #3D2D8A #8A2D4B
split-complementary
#7A8A2D #2D4B8A #6B2D8A
monochromatic
#282E0F #515C1E #7A8A2D #A3B83C #BBCD65

Accessibility & contrast

On white

3.82
#7A8A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7A8A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8A2D
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8A2D#FFFFFF#000000##000000
##7A8A2D1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938220
Deuteranopia (green-blind)
#918334
Tritanopia (blue-blind)
#818377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7a8a2d;
/* rgb */ color: rgb(122, 138, 45);
/* oklch */ color: oklch(60.2% 0.118 118.5);
Tailwind
colors: {
  custom: {
    50: '#a3ac6b',
    500: '#7a8a2d',
    950: '#000000',
  },
}
SCSS
$custom: #7a8a2d;
$custom-light: #a3ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8a2d",
  "rgb": {
    "r": 122,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 70.323,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60166,
    "c": 0.11847,
    "h": 118.5
  },
  "luminance": 0.22504
}

Semantic roles & 50–950 ramp

primary
#7A8A2D
secondary
#6E60B3
accent
#4DDA66
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7A8A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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