#6C8D2F#6C8D2F

#6C8D2F is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.9% C 0.127 H 126.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6C8D2F
RGBrgb(108, 141, 47)
HSLhsl(81, 50%, 37%)
HSVhsv(81, 67%, 55%)
CMYKcmyk(23.4%, 0%, 66.7%, 44.7%)
CIE-LABlab(54.49, -26.50, 44.74)
CIE-LCHlch(54.49, 52.00, 120.64°)
OKLaboklab(59.87% -0.0756 0.1021)
OKLCHoklch(59.87% 0.127 126.5)
XYZxyz(16.2223, 22.4429, 6.1660)
Luminance0.2244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D2F #502F8D
analogous
#8D7F2F #6C8D2F #3D8D2F
triadic
#6C8D2F #2F6C8D #8D2F6C
tetradic
#6C8D2F #2F8D7F #502F8D #8D2F3D
square
#6C8D2F #2F8D7F #502F8D #8D2F3D
split-complementary
#6C8D2F #2F3D8D #7F2F8D
monochromatic
#263110 #495F20 #6C8D2F #8FBB3E #AACD69

Accessibility & contrast

On white

3.83
#6C8D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#6C8D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8D2F
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8D2F#FFFFFF#000000##000000
##6C8D2F1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948423
Deuteranopia (green-blind)
#908236
Tritanopia (blue-blind)
#70877A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6c8d2f;
/* rgb */ color: rgb(108, 141, 47);
/* oklch */ color: oklch(59.9% 0.127 126.5);
Tailwind
colors: {
  custom: {
    50: '#99ae6c',
    500: '#6c8d2f',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d2f;
$custom-light: #99ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d2f",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 81.064,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59866,
    "c": 0.12708,
    "h": 126.5
  },
  "luminance": 0.22443
}

Semantic roles & 50–950 ramp

primary
#6C8D2F
secondary
#8064B4
accent
#4EDA7F
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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