#6D861C#6D861C

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

Color values

HEX#6D861C
RGBrgb(109, 134, 28)
HSLhsl(74, 65%, 32%)
HSVhsv(74, 79%, 53%)
CMYKcmyk(18.7%, 0%, 79.1%, 47.5%)
CIE-LABlab(52.27, -23.82, 49.91)
CIE-LCHlch(52.27, 55.30, 115.51°)
OKLaboklab(58.04% -0.07 0.1099)
OKLCHoklch(58.04% 0.13 122.5)
XYZxyz(15.0416, 20.3852, 4.2407)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D861C #351C86
analogous
#866A1C #6D861C #38861C
triadic
#6D861C #1C6D86 #861C6D
tetradic
#6D861C #1C866A #351C86 #861C38
square
#6D861C #1C866A #351C86 #861C38
split-complementary
#6D861C #1C3886 #6A1C86
monochromatic
#1B2107 #445311 #6D861C #96B927 #B5D844

Accessibility & contrast

On white

4.14
#6D861C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D861C#FFFFFF#000000##000000
##6D861C1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#737F72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6d861c;
/* rgb */ color: rgb(109, 134, 28);
/* oklch */ color: oklch(58.0% 0.130 122.5);
Tailwind
colors: {
  custom: {
    50: '#9aa962',
    500: '#6d861c',
    950: '#000000',
  },
}
SCSS
$custom: #6d861c;
$custom-light: #9aa962;
$custom-dark: #000000;
JSON
{
  "hex": "#6d861c",
  "rgb": {
    "r": 109,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 74.151,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58043,
    "c": 0.13032,
    "h": 122.5
  },
  "luminance": 0.20385
}

Semantic roles & 50–950 ramp

primary
#6D861C
secondary
#6045B9
accent
#3FE867
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6D861C

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

Preview Lab → · Contrast checker → · Palette generator →

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