#6B8331#6B8331

#6B8331 is a mid, moderate yellow-green. Relative luminance 0.196; OKLCH L 57.3% C 0.112 H 123.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#6B8331
RGBrgb(107, 131, 49)
HSLhsl(78, 46%, 35%)
HSVhsv(78, 63%, 51%)
CMYKcmyk(18.3%, 0%, 62.6%, 48.6%)
CIE-LABlab(51.36, -21.75, 40.42)
CIE-LCHlch(51.36, 45.90, 118.28°)
OKLaboklab(57.32% -0.0622 0.0933)
OKLCHoklch(57.32% 0.112 123.7)
XYZxyz(14.7342, 19.5801, 5.9082)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8331 #493183
analogous
#837231 #6B8331 #428331
triadic
#6B8331 #316B83 #83316B
tetradic
#6B8331 #318372 #493183 #833142
square
#6B8331 #318372 #493183 #833142
split-complementary
#6B8331 #314283 #723183
monochromatic
#222A10 #475620 #6B8331 #8FB042 #ABC668

Accessibility & contrast

On white

4.27
#6B8331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#6B8331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8331
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8331#FFFFFF#000000##000000
##6B83311.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B28
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#707D72
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6b8331;
/* rgb */ color: rgb(107, 131, 49);
/* oklch */ color: oklch(57.3% 0.112 123.7);
Tailwind
colors: {
  custom: {
    50: '#97a76d',
    500: '#6b8331',
    950: '#000000',
  },
}
SCSS
$custom: #6b8331;
$custom-light: #97a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8331",
  "rgb": {
    "r": 107,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 77.561,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57322,
    "c": 0.11213,
    "h": 123.7
  },
  "luminance": 0.1958
}

Semantic roles & 50–950 ramp

primary
#6B8331
secondary
#7862AE
accent
#53D579
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6B8331

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

Preview Lab → · Contrast checker → · Palette generator →

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