#6C8A2D#6C8A2D

#6C8A2D is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.1% C 0.125 H 125.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6C8A2D
RGBrgb(108, 138, 45)
HSLhsl(79, 51%, 36%)
HSVhsv(79, 67%, 54%)
CMYKcmyk(21.7%, 0%, 67.4%, 45.9%)
CIE-LABlab(53.55, -25.18, 44.61)
CIE-LCHlch(53.55, 51.22, 119.44°)
OKLaboklab(59.1% -0.0722 0.1016)
OKLCHoklch(59.1% 0.125 125.4)
XYZxyz(15.7465, 21.5544, 5.8129)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A2D #4B2D8A
analogous
#8A792D #6C8A2D #3D8A2D
triadic
#6C8A2D #2D6C8A #8A2D6C
tetradic
#6C8A2D #2D8A79 #4B2D8A #8A2D3D
square
#6C8A2D #2D8A79 #4B2D8A #8A2D3D
split-complementary
#6C8A2D #2D3D8A #792D8A
monochromatic
#242E0F #485C1E #6C8A2D #90B83C #ABCD65

Accessibility & contrast

On white

3.95
#6C8A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#6C8A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8A2D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8A2D#FFFFFF#000000##000000
##6C8A2D1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918120
Deuteranopia (green-blind)
#8D8034
Tritanopia (blue-blind)
#718377
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a2d;
/* rgb */ color: rgb(108, 138, 45);
/* oklch */ color: oklch(59.1% 0.125 125.4);
Tailwind
colors: {
  custom: {
    50: '#99ac6b',
    500: '#6c8a2d',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a2d;
$custom-light: #99ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a2d",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 79.355,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59098,
    "c": 0.1246,
    "h": 125.4
  },
  "luminance": 0.21555
}

Semantic roles & 50–950 ramp

primary
#6C8A2D
secondary
#7B60B3
accent
#4DDA7B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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