#6C8D2E#6C8D2E

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

Color values

HEX#6C8D2E
RGBrgb(108, 141, 46)
HSLhsl(81, 51%, 37%)
HSVhsv(81, 67%, 55%)
CMYKcmyk(23.4%, 0%, 67.4%, 44.7%)
CIE-LABlab(54.49, -26.58, 45.16)
CIE-LCHlch(54.49, 52.40, 120.48°)
OKLaboklab(59.86% -0.0759 0.1029)
OKLCHoklch(59.86% 0.128 126.4)
XYZxyz(16.2024, 22.4349, 6.0610)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D2E #4F2E8D
analogous
#8D7F2E #6C8D2E #3D8D2E
triadic
#6C8D2E #2E6C8D #8D2E6C
tetradic
#6C8D2E #2E8D7F #4F2E8D #8D2E3D
square
#6C8D2E #2E8D7F #4F2E8D #8D2E3D
split-complementary
#6C8D2E #2E3D8D #7F2E8D
monochromatic
#253110 #495F1F #6C8D2E #8FBB3D #AACE68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8D2E#FFFFFF#000000##000000
##6C8D2E1.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)
#948421
Deuteranopia (green-blind)
#908235
Tritanopia (blue-blind)
#70867A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6c8d2e;
/* rgb */ color: rgb(108, 141, 46);
/* oklch */ color: oklch(59.9% 0.128 126.4);
Tailwind
colors: {
  custom: {
    50: '#99ae6c',
    500: '#6c8d2e',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d2e;
$custom-light: #99ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d2e",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 80.842,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59857,
    "c": 0.12788,
    "h": 126.4
  },
  "luminance": 0.22435
}

Semantic roles & 50–950 ramp

primary
#6C8D2E
secondary
#7F62B5
accent
#4EDA7E
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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