#6B862A#6B862A

#6B862A is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 58.0% C 0.122 H 124.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6B862A
RGBrgb(107, 134, 42)
HSLhsl(78, 52%, 35%)
HSVhsv(78, 69%, 53%)
CMYKcmyk(20.1%, 0%, 68.7%, 47.5%)
CIE-LABlab(52.22, -23.82, 44.48)
CIE-LCHlch(52.22, 50.46, 118.17°)
OKLaboklab(58% -0.0687 0.1009)
OKLCHoklch(58% 0.122 124.2)
XYZxyz(15.0065, 20.3430, 5.3260)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B862A #452A86
analogous
#86732A #6B862A #3D862A
triadic
#6B862A #2A6B86 #862A6B
tetradic
#6B862A #2A8673 #452A86 #862A3D
square
#6B862A #2A8673 #452A86 #862A3D
split-complementary
#6B862A #2A3D86 #732A86
monochromatic
#21290D #46571B #6B862A #90B539 #ACCD5E

Accessibility & contrast

On white

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

On black

5.07
#6B862A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B862A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B862A#FFFFFF#000000##000000
##6B862A1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D1D
Deuteranopia (green-blind)
#8A7C31
Tritanopia (blue-blind)
#707F73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6b862a;
/* rgb */ color: rgb(107, 134, 42);
/* oklch */ color: oklch(58.0% 0.122 124.2);
Tailwind
colors: {
  custom: {
    50: '#98a969',
    500: '#6b862a',
    950: '#000000',
  },
}
SCSS
$custom: #6b862a;
$custom-light: #98a969;
$custom-dark: #000000;
JSON
{
  "hex": "#6b862a",
  "rgb": {
    "r": 107,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 77.609,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57999,
    "c": 0.12203,
    "h": 124.2
  },
  "luminance": 0.20343
}

Semantic roles & 50–950 ramp

primary
#6B862A
secondary
#745AB2
accent
#4CDC76
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6B862A

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

Preview Lab → · Contrast checker → · Palette generator →

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