#6B8A42#6B8A42

#6B8A42 is a mid, moderate yellow-green. Relative luminance 0.217; OKLCH L 59.3% C 0.106 H 128.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6B8A42
RGBrgb(107, 138, 66)
HSLhsl(86, 35%, 40%)
HSVhsv(86, 52%, 54%)
CMYKcmyk(22.5%, 0%, 52.2%, 45.9%)
CIE-LABlab(53.70, -23.59, 34.73)
CIE-LCHlch(53.70, 41.99, 124.19°)
OKLaboklab(59.27% -0.0658 0.0828)
OKLCHoklch(59.27% 0.106 128.5)
XYZxyz(16.1351, 21.6958, 8.4908)
Luminance0.2170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8A42 #61428A
analogous
#8A8542 #6B8A42 #478A42
triadic
#6B8A42 #426B8A #8A426B
tetradic
#6B8A42 #428A85 #61428A #8A4247
square
#6B8A42 #428A85 #61428A #8A4247
split-complementary
#6B8A42 #42478A #85428A
monochromatic
#2B371A #4B612E #6B8A42 #8BB059 #A8C483

Accessibility & contrast

On white

3.93
#6B8A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#6B8A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8A42
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8A42#FFFFFF#000000##000000
##6B8A421.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823C
Deuteranopia (green-blind)
#8C8046
Tritanopia (blue-blind)
#6E857A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6b8a42;
/* rgb */ color: rgb(107, 138, 66);
/* oklch */ color: oklch(59.3% 0.106 128.5);
Tailwind
colors: {
  custom: {
    50: '#97ac78',
    500: '#6b8a42',
    950: '#000000',
  },
}
SCSS
$custom: #6b8a42;
$custom-light: #97ac78;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8a42",
  "rgb": {
    "r": 107,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 85.833,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.59274,
    "c": 0.10573,
    "h": 128.5
  },
  "luminance": 0.21696
}

Semantic roles & 50–950 ramp

primary
#6B8A42
secondary
#9079AE
accent
#5CCB8C
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0E1009
muted
#7E7F7B

Preview Lab

Preview with #6B8A42

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

Preview Lab → · Contrast checker → · Palette generator →

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