#6A7A2F#6A7A2F

#6A7A2F is a mid, moderate yellow-green. Relative luminance 0.172; OKLCH L 55.0% C 0.102 H 120.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#6A7A2F
RGBrgb(106, 122, 47)
HSLhsl(73, 44%, 33%)
HSVhsv(73, 61%, 48%)
CMYKcmyk(13.1%, 0%, 61.5%, 52.2%)
CIE-LABlab(48.50, -17.66, 38.18)
CIE-LCHlch(48.50, 42.07, 114.83°)
OKLaboklab(54.99% -0.051 0.0883)
OKLCHoklch(54.99% 0.102 120)
XYZxyz(13.4167, 17.1885, 5.2997)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7A2F #3F2F7A
analogous
#7A642F #6A7A2F #447A2F
triadic
#6A7A2F #2F6A7A #7A2F6A
tetradic
#6A7A2F #2F7A64 #3F2F7A #7A2F44
square
#6A7A2F #2F7A64 #3F2F7A #7A2F44
split-complementary
#6A7A2F #2F447A #642F7A
monochromatic
#1D220D #444E1E #6A7A2F #90A640 #AEC261

Accessibility & contrast

On white

4.73
#6A7A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#6A7A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7A2F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7A2F#FFFFFF#000000##FFFFFF
##6A7A2F1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817327
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#70746A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a7a2f;
/* rgb */ color: rgb(106, 122, 47);
/* oklch */ color: oklch(55.0% 0.102 120.0);
Tailwind
colors: {
  custom: {
    50: '#97a06b',
    500: '#6a7a2f',
    950: '#000000',
  },
}
SCSS
$custom: #6a7a2f;
$custom-light: #97a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7a2f",
  "rgb": {
    "r": 106,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 72.8,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54992,
    "c": 0.10193,
    "h": 120
  },
  "luminance": 0.17188
}

Semantic roles & 50–950 ramp

primary
#6A7A2F
secondary
#6C5CA9
accent
#54D46F
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E07
muted
#7E7E7A

Preview Lab

Preview with #6A7A2F

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

Preview Lab → · Contrast checker → · Palette generator →

#6A7A2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva