#6C8D2D#6C8D2D

#6C8D2D is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.8% C 0.129 H 126.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6C8D2D
RGBrgb(108, 141, 45)
HSLhsl(81, 52%, 36%)
HSVhsv(81, 68%, 55%)
CMYKcmyk(23.4%, 0%, 68.1%, 44.7%)
CIE-LABlab(54.48, -26.66, 45.58)
CIE-LCHlch(54.48, 52.80, 120.32°)
OKLaboklab(59.85% -0.0762 0.1036)
OKLCHoklch(59.85% 0.129 126.4)
XYZxyz(16.1829, 22.4271, 5.9584)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D2D #4E2D8D
analogous
#8D7E2D #6C8D2D #3C8D2D
triadic
#6C8D2D #2D6C8D #8D2D6C
tetradic
#6C8D2D #2D8D7E #4E2D8D #8D2D3C
square
#6C8D2D #2D8D7E #4E2D8D #8D2D3C
split-complementary
#6C8D2D #2D3C8D #7E2D8D
monochromatic
#25300F #485F1E #6C8D2D #90BB3C #AACE66

Accessibility & contrast

On white

3.83
#6C8D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#6C8D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8D2D
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8D2D#FFFFFF#000000##000000
##6C8D2D1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948420
Deuteranopia (green-blind)
#908235
Tritanopia (blue-blind)
#708679
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6c8d2d;
/* rgb */ color: rgb(108, 141, 45);
/* oklch */ color: oklch(59.8% 0.129 126.4);
Tailwind
colors: {
  custom: {
    50: '#99ae6b',
    500: '#6c8d2d',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d2d;
$custom-light: #99ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d2d",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 80.625,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59848,
    "c": 0.12864,
    "h": 126.4
  },
  "luminance": 0.22427
}

Semantic roles & 50–950 ramp

primary
#6C8D2D
secondary
#7E61B5
accent
#4DDB7E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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