#6C8D19#6C8D19

#6C8D19 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.7% C 0.141 H 125.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6C8D19
RGBrgb(108, 141, 25)
HSLhsl(77, 70%, 33%)
HSVhsv(77, 82%, 55%)
CMYKcmyk(23.4%, 0%, 82.3%, 44.7%)
CIE-LABlab(54.35, -27.83, 52.72)
CIE-LCHlch(54.35, 59.62, 117.83°)
OKLaboklab(59.71% -0.0811 0.1154)
OKLCHoklch(59.71% 0.141 125.1)
XYZxyz(15.8848, 22.3079, 4.3885)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D19 #3A198D
analogous
#8D7419 #6C8D19 #328D19
triadic
#6C8D19 #196C8D #8D196C
tetradic
#6C8D19 #198D74 #3A198D #8D1932
square
#6C8D19 #198D74 #3A198D #8D1932
split-complementary
#6C8D19 #19328D #74198D
monochromatic
#1C2507 #445910 #6C8D19 #94C122 #B2DE43

Accessibility & contrast

On white

3.85
#6C8D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#6C8D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8D19
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8D19#FFFFFF#000000##000000
##6C8D191.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#918226
Tritanopia (blue-blind)
#718678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6c8d19;
/* rgb */ color: rgb(108, 141, 25);
/* oklch */ color: oklch(59.7% 0.141 125.1);
Tailwind
colors: {
  custom: {
    50: '#9aae61',
    500: '#6c8d19',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d19;
$custom-light: #9aae61;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d19",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 77.069,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59706,
    "c": 0.14104,
    "h": 125.1
  },
  "luminance": 0.22308
}

Semantic roles & 50–950 ramp

primary
#6C8D19
secondary
#6643BF
accent
#3BED6E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6C8D19

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

Preview Lab → · Contrast checker → · Palette generator →

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