#6B861A#6B861A

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

Color values

HEX#6B861A
RGBrgb(107, 134, 26)
HSLhsl(75, 68%, 31%)
HSVhsv(75, 81%, 53%)
CMYKcmyk(20.1%, 0%, 80.6%, 47.5%)
CIE-LABlab(52.12, -24.77, 50.37)
CIE-LCHlch(52.12, 56.13, 116.19°)
OKLaboklab(57.88% -0.0727 0.1106)
OKLCHoklch(57.88% 0.132 123.3)
XYZxyz(14.7751, 20.2505, 4.1074)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B861A #351A86
analogous
#866B1A #6B861A #35861A
triadic
#6B861A #1A6B86 #861A6B
tetradic
#6B861A #1A866B #351A86 #861A35
square
#6B861A #1A866B #351A86 #861A35
split-complementary
#6B861A #1A3586 #6B1A86
monochromatic
#191F06 #425310 #6B861A #94B924 #B4DA40

Accessibility & contrast

On white

4.16
#6B861A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#6B861A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B861A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B861A#FFFFFF#000000##000000
##6B861A1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b861a;
/* rgb */ color: rgb(107, 134, 26);
/* oklch */ color: oklch(57.9% 0.132 123.3);
Tailwind
colors: {
  custom: {
    50: '#99a961',
    500: '#6b861a',
    950: '#000000',
  },
}
SCSS
$custom: #6b861a;
$custom-light: #99a961;
$custom-dark: #000000;
JSON
{
  "hex": "#6b861a",
  "rgb": {
    "r": 107,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 75,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57882,
    "c": 0.13233,
    "h": 123.3
  },
  "luminance": 0.20251
}

Semantic roles & 50–950 ramp

primary
#6B861A
secondary
#6042B9
accent
#3DEA69
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6B861A

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

Preview Lab → · Contrast checker → · Palette generator →

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