#6C8F1B#6C8F1B

#6C8F1B is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 60.2% C 0.143 H 125.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#6C8F1B
RGBrgb(108, 143, 27)
HSLhsl(78, 68%, 33%)
HSVhsv(78, 81%, 56%)
CMYKcmyk(24.5%, 0%, 81.1%, 43.9%)
CIE-LABlab(54.98, -28.70, 52.70)
CIE-LCHlch(54.98, 60.01, 118.58°)
OKLaboklab(60.22% -0.0834 0.1157)
OKLCHoklch(60.22% 0.143 125.8)
XYZxyz(16.2048, 22.9120, 4.6054)
Luminance0.2291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8F1B #3E1B8F
analogous
#8F781B #6C8F1B #328F1B
triadic
#6C8F1B #1B6C8F #8F1B6C
tetradic
#6C8F1B #1B8F78 #3E1B8F #8F1B32
square
#6C8F1B #1B8F78 #3E1B8F #8F1B32
split-complementary
#6C8F1B #1B328F #781B8F
monochromatic
#1E2808 #455C11 #6C8F1B #93C225 #B0DC48

Accessibility & contrast

On white

3.76
#6C8F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#6C8F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8F1B
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8F1B#FFFFFF#000000##000000
##6C8F1B1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#928327
Tritanopia (blue-blind)
#71887A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6c8f1b;
/* rgb */ color: rgb(108, 143, 27);
/* oklch */ color: oklch(60.2% 0.143 125.8);
Tailwind
colors: {
  custom: {
    50: '#9ab063',
    500: '#6c8f1b',
    950: '#000000',
  },
}
SCSS
$custom: #6c8f1b;
$custom-light: #9ab063;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8f1b",
  "rgb": {
    "r": 108,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 78.103,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.6022,
    "c": 0.14257,
    "h": 125.8
  },
  "luminance": 0.22912
}

Semantic roles & 50–950 ramp

primary
#6C8F1B
secondary
#6B48BE
accent
#3DEB71
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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