#6C8B2A#6C8B2A

#6C8B2A is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.3% C 0.128 H 125.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6C8B2A
RGBrgb(108, 139, 42)
HSLhsl(79, 54%, 35%)
HSVhsv(79, 70%, 55%)
CMYKcmyk(22.3%, 0%, 69.8%, 45.5%)
CIE-LABlab(53.84, -25.89, 46.17)
CIE-LCHlch(53.84, 52.94, 119.28°)
OKLaboklab(59.32% -0.0744 0.1044)
OKLCHoklch(59.32% 0.128 125.5)
XYZxyz(15.8350, 21.8204, 5.5675)
Luminance0.2182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8B2A #492A8B
analogous
#8B792A #6C8B2A #3C8B2A
triadic
#6C8B2A #2A6C8B #8B2A6C
tetradic
#6C8B2A #2A8B79 #492A8B #8B2A3C
square
#6C8B2A #2A8B79 #492A8B #8B2A3C
split-complementary
#6C8B2A #2A3C8B #792A8B
monochromatic
#232D0E #475C1C #6C8B2A #91BA38 #ACCF60

Accessibility & contrast

On white

3.91
#6C8B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#6C8B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8B2A
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8B2A#FFFFFF#000000##000000
##6C8B2A1.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821C
Deuteranopia (green-blind)
#8E8032
Tritanopia (blue-blind)
#718478
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6c8b2a;
/* rgb */ color: rgb(108, 139, 42);
/* oklch */ color: oklch(59.3% 0.128 125.5);
Tailwind
colors: {
  custom: {
    50: '#99ad69',
    500: '#6c8b2a',
    950: '#000000',
  },
}
SCSS
$custom: #6c8b2a;
$custom-light: #99ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8b2a",
  "rgb": {
    "r": 108,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 79.175,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59321,
    "c": 0.12822,
    "h": 125.5
  },
  "luminance": 0.21821
}

Semantic roles & 50–950 ramp

primary
#6C8B2A
secondary
#785CB5
accent
#4BDD7A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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