#6C8B1A#6C8B1A

#6C8B1A is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.2% C 0.138 H 124.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6C8B1A
RGBrgb(108, 139, 26)
HSLhsl(76, 68%, 32%)
HSVhsv(76, 81%, 55%)
CMYKcmyk(22.3%, 0%, 81.3%, 45.5%)
CIE-LABlab(53.74, -26.81, 51.87)
CIE-LCHlch(53.74, 58.39, 117.33°)
OKLaboklab(59.21% -0.0783 0.1137)
OKLCHoklch(59.21% 0.138 124.5)
XYZxyz(15.6036, 21.7278, 4.3489)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8B1A #391A8B
analogous
#8B711A #6C8B1A #348B1A
triadic
#6C8B1A #1A6C8B #8B1A6C
tetradic
#6C8B1A #1A8B71 #391A8B #8B1A34
square
#6C8B1A #1A8B71 #391A8B #8B1A34
split-complementary
#6C8B1A #1A348B #711A8B
monochromatic
#1C2407 #445710 #6C8B1A #94BF24 #B2DC43

Accessibility & contrast

On white

3.93
#6C8B1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#6C8B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8B1A
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8B1A#FFFFFF#000000##000000
##6C8B1A1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8F8026
Tritanopia (blue-blind)
#718476
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8b1a;
/* rgb */ color: rgb(108, 139, 26);
/* oklch */ color: oklch(59.2% 0.138 124.5);
Tailwind
colors: {
  custom: {
    50: '#9aad62',
    500: '#6c8b1a',
    950: '#000000',
  },
}
SCSS
$custom: #6c8b1a;
$custom-light: #9aad62;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8b1a",
  "rgb": {
    "r": 108,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 76.46,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59209,
    "c": 0.13808,
    "h": 124.5
  },
  "luminance": 0.21728
}

Semantic roles & 50–950 ramp

primary
#6C8B1A
secondary
#6544BD
accent
#3CEB6C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6C8B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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