#6C8F1F#6C8F1F

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

Color values

HEX#6C8F1F
RGBrgb(108, 143, 31)
HSLhsl(79, 64%, 34%)
HSVhsv(79, 78%, 56%)
CMYKcmyk(24.5%, 0%, 78.3%, 43.9%)
CIE-LABlab(55.00, -28.51, 51.44)
CIE-LCHlch(55.00, 58.82, 119.00°)
OKLaboklab(60.24% -0.0825 0.1137)
OKLCHoklch(60.24% 0.14 126)
XYZxyz(16.2542, 22.9317, 4.8660)
Luminance0.2293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8F1F #421F8F
analogous
#8F7A1F #6C8F1F #348F1F
triadic
#6C8F1F #1F6C8F #8F1F6C
tetradic
#6C8F1F #1F8F7A #421F8F #8F1F34
square
#6C8F1F #1F8F7A #421F8F #8F1F34
split-complementary
#6C8F1F #1F348F #7A1F8F
monochromatic
#202A09 #465D14 #6C8F1F #92C12A #AED94F

Accessibility & contrast

On white

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

On black

5.59
#6C8F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8F1F
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8F1F#FFFFFF#000000##000000
##6C8F1F1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c8f1f;
/* rgb */ color: rgb(108, 143, 31);
/* oklch */ color: oklch(60.2% 0.140 126.0);
Tailwind
colors: {
  custom: {
    50: '#9ab064',
    500: '#6c8f1f',
    950: '#000000',
  },
}
SCSS
$custom: #6c8f1f;
$custom-light: #9ab064;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8f1f",
  "rgb": {
    "r": 108,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 78.75,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60243,
    "c": 0.14049,
    "h": 126
  },
  "luminance": 0.22932
}

Semantic roles & 50–950 ramp

primary
#6C8F1F
secondary
#704EBC
accent
#40E775
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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