#6A7C2C#6A7C2C

#6A7C2C is a mid, moderate yellow-green. Relative luminance 0.177; OKLCH L 55.5% C 0.107 H 120.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6A7C2C
RGBrgb(106, 124, 44)
HSLhsl(74, 48%, 33%)
HSVhsv(74, 65%, 49%)
CMYKcmyk(14.5%, 0%, 64.5%, 51.4%)
CIE-LABlab(49.08, -18.97, 40.24)
CIE-LCHlch(49.08, 44.48, 115.24°)
OKLaboklab(55.45% -0.0549 0.0922)
OKLCHoklch(55.45% 0.107 120.8)
XYZxyz(13.6063, 17.6613, 5.0746)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7C2C #3E2C7C
analogous
#7C662C #6A7C2C #427C2C
triadic
#6A7C2C #2C6A7C #7C2C6A
tetradic
#6A7C2C #2C7C66 #3E2C7C #7C2C42
square
#6A7C2C #2C7C66 #3E2C7C #7C2C42
split-complementary
#6A7C2C #2C427C #662C7C
monochromatic
#1D220C #434F1C #6A7C2C #91A93C #AEC55D

Accessibility & contrast

On white

4.63
#6A7C2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#6A7C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7C2C
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7C2C#FFFFFF#000000##FFFFFF
##6A7C2C1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847522
Deuteranopia (green-blind)
#817532
Tritanopia (blue-blind)
#70766B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6a7c2c;
/* rgb */ color: rgb(106, 124, 44);
/* oklch */ color: oklch(55.5% 0.107 120.8);
Tailwind
colors: {
  custom: {
    50: '#97a269',
    500: '#6a7c2c',
    950: '#000000',
  },
}
SCSS
$custom: #6a7c2c;
$custom-light: #97a269;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7c2c",
  "rgb": {
    "r": 106,
    "g": 124,
    "b": 44
  },
  "hsl": {
    "h": 73.5,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55454,
    "c": 0.10736,
    "h": 120.8
  },
  "luminance": 0.17661
}

Semantic roles & 50–950 ramp

primary
#6A7C2C
secondary
#6B58AC
accent
#51D76F
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0F06
muted
#7E7E7A

Preview Lab

Preview with #6A7C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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