#6B7331#6B7331

#6B7331 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.4% C 0.090 H 115.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6B7331
RGBrgb(107, 115, 49)
HSLhsl(67, 40%, 32%)
HSVhsv(67, 57%, 45%)
CMYKcmyk(7%, 0%, 57.4%, 54.9%)
CIE-LABlab(46.46, -13.27, 34.91)
CIE-LCHlch(46.46, 37.34, 110.81°)
OKLaboklab(53.38% -0.0385 0.0815)
OKLCHoklch(53.38% 0.09 115.3)
XYZxyz(12.7487, 15.6092, 5.2464)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7331 #393173
analogous
#735A31 #6B7331 #4A7331
triadic
#6B7331 #316B73 #73316B
tetradic
#6B7331 #31735A #393173 #73314A
square
#6B7331 #31735A #393173 #73314A
split-complementary
#6B7331 #314A73 #5A3173
monochromatic
#1B1D0C #43481F #6B7331 #939E43 #B1BC62

Accessibility & contrast

On white

5.09
#6B7331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#6B7331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7331
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7331#FFFFFF#000000##FFFFFF
##6B73311.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2A
Deuteranopia (green-blind)
#7A6F35
Tritanopia (blue-blind)
#716D64
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6b7331;
/* rgb */ color: rgb(107, 115, 49);
/* oklch */ color: oklch(53.4% 0.090 115.3);
Tailwind
colors: {
  custom: {
    50: '#979b6b',
    500: '#6b7331',
    950: '#000000',
  },
}
SCSS
$custom: #6b7331;
$custom-light: #979b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7331",
  "rgb": {
    "r": 107,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 67.273,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53383,
    "c": 0.09013,
    "h": 115.3
  },
  "luminance": 0.15609
}

Semantic roles & 50–950 ramp

primary
#6B7331
secondary
#655CA4
accent
#58D066
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E07
muted
#7E7E7A

Preview Lab

Preview with #6B7331

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

Preview Lab → · Contrast checker → · Palette generator →

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