#6B861F#6B861F

#6B861F is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.9% C 0.130 H 123.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6B861F
RGBrgb(107, 134, 31)
HSLhsl(76, 62%, 32%)
HSVhsv(76, 77%, 53%)
CMYKcmyk(20.1%, 0%, 76.9%, 47.5%)
CIE-LABlab(52.15, -24.52, 48.72)
CIE-LCHlch(52.15, 54.54, 116.72°)
OKLaboklab(57.91% -0.0716 0.108)
OKLCHoklch(57.91% 0.13 123.5)
XYZxyz(14.8360, 20.2748, 4.4279)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B861F #3A1F86
analogous
#866D1F #6B861F #38861F
triadic
#6B861F #1F6B86 #861F6B
tetradic
#6B861F #1F866D #3A1F86 #861F38
square
#6B861F #1F866D #3A1F86 #861F38
split-complementary
#6B861F #1F3886 #6D1F86
monochromatic
#1C2308 #435414 #6B861F #93B82A #B1D54A

Accessibility & contrast

On white

4.15
#6B861F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#6B861F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B861F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B861F#FFFFFF#000000##000000
##6B861F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D08
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#717F72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6b861f;
/* rgb */ color: rgb(107, 134, 31);
/* oklch */ color: oklch(57.9% 0.130 123.5);
Tailwind
colors: {
  custom: {
    50: '#99a963',
    500: '#6b861f',
    950: '#000000',
  },
}
SCSS
$custom: #6b861f;
$custom-light: #99a963;
$custom-dark: #000000;
JSON
{
  "hex": "#6b861f",
  "rgb": {
    "r": 107,
    "g": 134,
    "b": 31
  },
  "hsl": {
    "h": 75.728,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57913,
    "c": 0.12955,
    "h": 123.5
  },
  "luminance": 0.20275
}

Semantic roles & 50–950 ramp

primary
#6B861F
secondary
#6649B8
accent
#42E56D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6B861F

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

Preview Lab → · Contrast checker → · Palette generator →

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