#6C862A#6C862A

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

Color values

HEX#6C862A
RGBrgb(108, 134, 42)
HSLhsl(77, 52%, 35%)
HSVhsv(77, 69%, 53%)
CMYKcmyk(19.4%, 0%, 68.7%, 47.5%)
CIE-LABlab(52.29, -23.40, 44.58)
CIE-LCHlch(52.29, 50.34, 117.70°)
OKLaboklab(58.07% -0.0676 0.1011)
OKLCHoklch(58.07% 0.122 123.8)
XYZxyz(15.1275, 20.4054, 5.3317)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C862A #442A86
analogous
#86722A #6C862A #3E862A
triadic
#6C862A #2A6C86 #862A6C
tetradic
#6C862A #2A8672 #442A86 #862A3E
square
#6C862A #2A8672 #442A86 #862A3E
split-complementary
#6C862A #2A3E86 #722A86
monochromatic
#21290D #46571B #6C862A #92B539 #ADCD5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C862A#FFFFFF#000000##000000
##6C862A1.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)
#8E7E1D
Deuteranopia (green-blind)
#8A7D31
Tritanopia (blue-blind)
#717F73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6c862a;
/* rgb */ color: rgb(108, 134, 42);
/* oklch */ color: oklch(58.1% 0.122 123.8);
Tailwind
colors: {
  custom: {
    50: '#99a969',
    500: '#6c862a',
    950: '#000000',
  },
}
SCSS
$custom: #6c862a;
$custom-light: #99a969;
$custom-dark: #000000;
JSON
{
  "hex": "#6c862a",
  "rgb": {
    "r": 108,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 76.957,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58073,
    "c": 0.12155,
    "h": 123.8
  },
  "luminance": 0.20406
}

Semantic roles & 50–950 ramp

primary
#6C862A
secondary
#735AB2
accent
#4CDC75
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C862A

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

Preview Lab → · Contrast checker → · Palette generator →

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