#7A8A2E#7A8A2E

#7A8A2E 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#7A8A2E
RGBrgb(122, 138, 46)
HSLhsl(70, 50%, 36%)
HSVhsv(70, 67%, 54%)
CMYKcmyk(11.6%, 0%, 66.7%, 45.9%)
CIE-LABlab(54.57, -19.13, 45.55)
CIE-LCHlch(54.57, 49.40, 112.78°)
OKLaboklab(60.18% -0.0562 0.1034)
OKLCHoklch(60.18% 0.118 118.5)
XYZxyz(17.6080, 22.5119, 6.0019)
Luminance0.2251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8A2E #3E2E8A
analogous
#8A6C2E #7A8A2E #4C8A2E
triadic
#7A8A2E #2E7A8A #8A2E7A
tetradic
#7A8A2E #2E8A6C #3E2E8A #8A2E4C
square
#7A8A2E #2E8A6C #3E2E8A #8A2E4C
split-complementary
#7A8A2E #2E4C8A #6C2E8A
monochromatic
#292E0F #515C1F #7A8A2E #A3B83D #BACC66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A8A2E#FFFFFF#000000##000000
##7A8A2E1.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)
#938222
Deuteranopia (green-blind)
#918335
Tritanopia (blue-blind)
#818377
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7a8a2e;
/* rgb */ color: rgb(122, 138, 46);
/* oklch */ color: oklch(60.2% 0.118 118.5);
Tailwind
colors: {
  custom: {
    50: '#a3ac6c',
    500: '#7a8a2e',
    950: '#000000',
  },
}
SCSS
$custom: #7a8a2e;
$custom-light: #a3ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8a2e",
  "rgb": {
    "r": 122,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 70.435,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60176,
    "c": 0.11768,
    "h": 118.5
  },
  "luminance": 0.22512
}

Semantic roles & 50–950 ramp

primary
#7A8A2E
secondary
#6F61B3
accent
#4EDA66
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7A8A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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