#6C8E2C#6C8E2C

#6C8E2C is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.1% C 0.131 H 126.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#6C8E2C
RGBrgb(108, 142, 44)
HSLhsl(81, 53%, 36%)
HSVhsv(81, 69%, 56%)
CMYKcmyk(23.9%, 0%, 69%, 44.3%)
CIE-LABlab(54.78, -27.22, 46.32)
CIE-LCHlch(54.78, 53.72, 120.44°)
OKLaboklab(60.09% -0.0779 0.105)
OKLCHoklch(60.09% 0.131 126.6)
XYZxyz(16.3120, 22.7157, 5.9076)
Luminance0.2272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8E2C #4E2C8E
analogous
#8E7F2C #6C8E2C #3B8E2C
triadic
#6C8E2C #2C6C8E #8E2C6C
tetradic
#6C8E2C #2C8E7F #4E2C8E #8E2C3B
square
#6C8E2C #2C8E7F #4E2C8E #8E2C3B
split-complementary
#6C8E2C #2C3B8E #7F2C8E
monochromatic
#25310F #485F1E #6C8E2C #90BD3A #AACF65

Accessibility & contrast

On white

3.79
#6C8E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#6C8E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8E2C
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8E2C#FFFFFF#000000##000000
##6C8E2C1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841E
Deuteranopia (green-blind)
#918334
Tritanopia (blue-blind)
#70877A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6c8e2c;
/* rgb */ color: rgb(108, 142, 44);
/* oklch */ color: oklch(60.1% 0.131 126.6);
Tailwind
colors: {
  custom: {
    50: '#99af6b',
    500: '#6c8e2c',
    950: '#000000',
  },
}
SCSS
$custom: #6c8e2c;
$custom-light: #99af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8e2c",
  "rgb": {
    "r": 108,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 80.816,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60089,
    "c": 0.13075,
    "h": 126.6
  },
  "luminance": 0.22716
}

Semantic roles & 50–950 ramp

primary
#6C8E2C
secondary
#7E60B6
accent
#4CDC7E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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