#6C8A2F#6C8A2F

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

Color values

HEX#6C8A2F
RGBrgb(108, 138, 47)
HSLhsl(80, 49%, 36%)
HSVhsv(80, 66%, 54%)
CMYKcmyk(21.7%, 0%, 65.9%, 45.9%)
CIE-LABlab(53.57, -25.02, 43.75)
CIE-LCHlch(53.57, 50.40, 119.77°)
OKLaboklab(59.12% -0.0716 0.1)
OKLCHoklch(59.12% 0.123 125.6)
XYZxyz(15.7860, 21.5701, 6.0206)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A2F #4D2F8A
analogous
#8A7B2F #6C8A2F #3F8A2F
triadic
#6C8A2F #2F6C8A #8A2F6C
tetradic
#6C8A2F #2F8A7B #4D2F8A #8A2F3F
square
#6C8A2F #2F8A7B #4D2F8A #8A2F3F
split-complementary
#6C8A2F #2F3F8A #7B2F8A
monochromatic
#252F10 #485C1F #6C8A2F #90B83F #ABCC68

Accessibility & contrast

On white

3.95
#6C8A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8A2F#FFFFFF#000000##000000
##6C8A2F1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#8D8036
Tritanopia (blue-blind)
#718477
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a2f;
/* rgb */ color: rgb(108, 138, 47);
/* oklch */ color: oklch(59.1% 0.123 125.6);
Tailwind
colors: {
  custom: {
    50: '#99ac6c',
    500: '#6c8a2f',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a2f;
$custom-light: #99ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a2f",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 79.78,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59117,
    "c": 0.123,
    "h": 125.6
  },
  "luminance": 0.2157
}

Semantic roles & 50–950 ramp

primary
#6C8A2F
secondary
#7D62B3
accent
#4FD97C
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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