#6C862B#6C862B

#6C862B is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 58.1% C 0.121 H 123.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6C862B
RGBrgb(108, 134, 43)
HSLhsl(77, 51%, 35%)
HSVhsv(77, 68%, 53%)
CMYKcmyk(19.4%, 0%, 67.9%, 47.5%)
CIE-LABlab(52.30, -23.33, 44.16)
CIE-LCHlch(52.30, 49.94, 117.85°)
OKLaboklab(58.08% -0.0673 0.1003)
OKLCHoklch(58.08% 0.121 123.8)
XYZxyz(15.1456, 20.4127, 5.4271)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C862B #452B86
analogous
#86732B #6C862B #3F862B
triadic
#6C862B #2B6C86 #862B6C
tetradic
#6C862B #2B8673 #452B86 #862B3F
square
#6C862B #2B8673 #452B86 #862B3F
split-complementary
#6C862B #2B3F86 #732B86
monochromatic
#21290D #47581C #6C862B #91B43A #ADCC60

Accessibility & contrast

On white

4.13
#6C862B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#6C862B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C862B
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C862B#FFFFFF#000000##000000
##6C862B1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1F
Deuteranopia (green-blind)
#8A7D32
Tritanopia (blue-blind)
#717F73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6c862b;
/* rgb */ color: rgb(108, 134, 43);
/* oklch */ color: oklch(58.1% 0.121 123.8);
Tailwind
colors: {
  custom: {
    50: '#99a969',
    500: '#6c862b',
    950: '#000000',
  },
}
SCSS
$custom: #6c862b;
$custom-light: #99a969;
$custom-dark: #000000;
JSON
{
  "hex": "#6c862b",
  "rgb": {
    "r": 108,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 77.143,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58082,
    "c": 0.12078,
    "h": 123.8
  },
  "luminance": 0.20413
}

Semantic roles & 50–950 ramp

primary
#6C862B
secondary
#745BB2
accent
#4DDB75
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6C862B

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

Preview Lab → · Contrast checker → · Palette generator →

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