#6B8D2A#6B8D2A

#6B8D2A is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.8% C 0.131 H 126.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6B8D2A
RGBrgb(107, 141, 42)
HSLhsl(81, 54%, 36%)
HSVhsv(81, 70%, 55%)
CMYKcmyk(24.1%, 0%, 70.2%, 44.7%)
CIE-LABlab(54.39, -27.29, 46.72)
CIE-LCHlch(54.39, 54.11, 120.29°)
OKLaboklab(59.75% -0.0782 0.1056)
OKLCHoklch(59.75% 0.131 126.5)
XYZxyz(16.0062, 22.3425, 5.6593)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8D2A #4C2A8D
analogous
#8D7D2A #6B8D2A #398D2A
triadic
#6B8D2A #2A6B8D #8D2A6B
tetradic
#6B8D2A #2A8D7D #4C2A8D #8D2A39
square
#6B8D2A #2A8D7D #4C2A8D #8D2A39
split-complementary
#6B8D2A #2A398D #7D2A8D
monochromatic
#232F0E #475E1C #6B8D2A #8FBC38 #AAD061

Accessibility & contrast

On white

3.84
#6B8D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#6B8D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8D2A
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8D2A#FFFFFF#000000##000000
##6B8D2A1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831B
Deuteranopia (green-blind)
#908232
Tritanopia (blue-blind)
#6F8679
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6b8d2a;
/* rgb */ color: rgb(107, 141, 42);
/* oklch */ color: oklch(59.8% 0.131 126.5);
Tailwind
colors: {
  custom: {
    50: '#98ae6a',
    500: '#6b8d2a',
    950: '#000000',
  },
}
SCSS
$custom: #6b8d2a;
$custom-light: #98ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8d2a",
  "rgb": {
    "r": 107,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 80.606,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59751,
    "c": 0.13139,
    "h": 126.5
  },
  "luminance": 0.22343
}

Semantic roles & 50–950 ramp

primary
#6B8D2A
secondary
#7B5DB6
accent
#4ADD7D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6B8D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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