#6C8A1D#6C8A1D

#6C8A1D is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 59.0% C 0.135 H 124.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6C8A1D
RGBrgb(108, 138, 29)
HSLhsl(77, 65%, 33%)
HSVhsv(77, 79%, 54%)
CMYKcmyk(21.7%, 0%, 79%, 45.9%)
CIE-LABlab(53.44, -26.18, 50.65)
CIE-LCHlch(53.44, 57.01, 117.34°)
OKLaboklab(58.98% -0.0763 0.1117)
OKLCHoklch(58.98% 0.135 124.4)
XYZxyz(15.4948, 21.4537, 4.4868)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A1D #3B1D8A
analogous
#8A711D #6C8A1D #358A1D
triadic
#6C8A1D #1D6C8A #8A1D6C
tetradic
#6C8A1D #1D8A71 #3B1D8A #8A1D35
square
#6C8A1D #1D8A71 #3B1D8A #8A1D35
split-complementary
#6C8A1D #1D358A #711D8A
monochromatic
#1D2508 #445712 #6C8A1D #94BD28 #B1D949

Accessibility & contrast

On white

3.97
#6C8A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#6C8A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8A1D
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8A1D#FFFFFF#000000##000000
##6C8A1D1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8E7F28
Tritanopia (blue-blind)
#718376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a1d;
/* rgb */ color: rgb(108, 138, 29);
/* oklch */ color: oklch(59.0% 0.135 124.4);
Tailwind
colors: {
  custom: {
    50: '#9aac63',
    500: '#6c8a1d',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a1d;
$custom-light: #9aac63;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a1d",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 76.514,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58976,
    "c": 0.13527,
    "h": 124.4
  },
  "luminance": 0.21454
}

Semantic roles & 50–950 ramp

primary
#6C8A1D
secondary
#6848BB
accent
#40E86E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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