#6C8A2C#6C8A2C

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

Color values

HEX#6C8A2C
RGBrgb(108, 138, 44)
HSLhsl(79, 52%, 36%)
HSVhsv(79, 68%, 54%)
CMYKcmyk(21.7%, 0%, 68.1%, 45.9%)
CIE-LABlab(53.54, -25.25, 45.03)
CIE-LCHlch(53.54, 51.63, 119.28°)
OKLaboklab(59.09% -0.0725 0.1023)
OKLCHoklch(59.09% 0.125 125.3)
XYZxyz(15.7275, 21.5468, 5.7127)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A2C #4A2C8A
analogous
#8A792C #6C8A2C #3D8A2C
triadic
#6C8A2C #2C6C8A #8A2C6C
tetradic
#6C8A2C #2C8A79 #4A2C8A #8A2C3D
square
#6C8A2C #2C8A79 #4A2C8A #8A2C3D
split-complementary
#6C8A2C #2C3D8A #792C8A
monochromatic
#232D0E #485C1D #6C8A2C #90B83B #ABCD63

Accessibility & contrast

On white

3.96
#6C8A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8A2C#FFFFFF#000000##000000
##6C8A2C1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811F
Deuteranopia (green-blind)
#8D8033
Tritanopia (blue-blind)
#718377
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a2c;
/* rgb */ color: rgb(108, 138, 44);
/* oklch */ color: oklch(59.1% 0.125 125.3);
Tailwind
colors: {
  custom: {
    50: '#99ac6a',
    500: '#6c8a2c',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a2c;
$custom-light: #99ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a2c",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 79.149,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59089,
    "c": 0.12537,
    "h": 125.3
  },
  "luminance": 0.21547
}

Semantic roles & 50–950 ramp

primary
#6C8A2C
secondary
#795EB4
accent
#4DDB7A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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