#6C8A2B#6C8A2B

#6C8A2B is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 59.1% C 0.126 H 125.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6C8A2B
RGBrgb(108, 138, 43)
HSLhsl(79, 52%, 35%)
HSVhsv(79, 69%, 54%)
CMYKcmyk(21.7%, 0%, 68.8%, 45.9%)
CIE-LABlab(53.53, -25.33, 45.44)
CIE-LCHlch(53.53, 52.02, 119.13°)
OKLaboklab(59.08% -0.0728 0.103)
OKLCHoklch(59.08% 0.126 125.2)
XYZxyz(15.7090, 21.5393, 5.6149)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A2B #492B8A
analogous
#8A782B #6C8A2B #3D8A2B
triadic
#6C8A2B #2B6C8A #8A2B6C
tetradic
#6C8A2B #2B8A78 #492B8A #8A2B3D
square
#6C8A2B #2B8A78 #492B8A #8A2B3D
split-complementary
#6C8A2B #2B3D8A #782B8A
monochromatic
#232D0E #475B1C #6C8A2B #91B93A #ACCE61

Accessibility & contrast

On white

3.96
#6C8A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#6C8A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8A2B
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8A2B#FFFFFF#000000##000000
##6C8A2B1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811D
Deuteranopia (green-blind)
#8D8033
Tritanopia (blue-blind)
#718377
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a2b;
/* rgb */ color: rgb(108, 138, 43);
/* oklch */ color: oklch(59.1% 0.126 125.2);
Tailwind
colors: {
  custom: {
    50: '#99ac6a',
    500: '#6c8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a2b;
$custom-light: #99ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a2b",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 78.947,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5908,
    "c": 0.12614,
    "h": 125.2
  },
  "luminance": 0.2154
}

Semantic roles & 50–950 ramp

primary
#6C8A2B
secondary
#785DB4
accent
#4CDC79
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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