#6B6A31#6B6A31

#6B6A31 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.2% C 0.079 H 108.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#6B6A31
RGBrgb(107, 106, 49)
HSLhsl(59, 37%, 31%)
HSVhsv(59, 54%, 42%)
CMYKcmyk(0%, 0.9%, 54.2%, 58%)
CIE-LABlab(43.74, -8.25, 31.75)
CIE-LCHlch(43.74, 32.80, 104.56°)
OKLaboklab(51.21% -0.0242 0.0747)
OKLCHoklch(51.21% 0.079 108)
XYZxyz(11.7721, 13.6559, 4.9209)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6A31 #31326B
analogous
#6B4D31 #6B6A31 #4F6B31
triadic
#6B6A31 #316B6A #6A316B
tetradic
#6B6A31 #316B4D #31326B #6B314F
square
#6B6A31 #316B4D #31326B #6B314F
split-complementary
#6B6A31 #314F6B #4D316B
monochromatic
#17170B #41401E #6B6A31 #959444 #B6B560

Accessibility & contrast

On white

5.63
#6B6A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#6B6A31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6A31
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6A31#FFFFFF#000000##FFFFFF
##6B6A311.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72662C
Deuteranopia (green-blind)
#736834
Tritanopia (blue-blind)
#72645D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6b6a31;
/* rgb */ color: rgb(107, 106, 49);
/* oklch */ color: oklch(51.2% 0.079 108.0);
Tailwind
colors: {
  custom: {
    50: '#97946b',
    500: '#6b6a31',
    950: '#000000',
  },
}
SCSS
$custom: #6b6a31;
$custom-light: #97946b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6a31",
  "rgb": {
    "r": 107,
    "g": 106,
    "b": 49
  },
  "hsl": {
    "h": 58.966,
    "s": 37.179,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5121,
    "c": 0.07852,
    "h": 108
  },
  "luminance": 0.13656
}

Semantic roles & 50–950 ramp

primary
#6B6A31
secondary
#5C5D9C
accent
#5DCD5B
background
#F9F9F6
surface
#F2F1EB
border
#CCCBC6
text
#0E0D07
muted
#7E7E7A

Preview Lab

Preview with #6B6A31

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

Preview Lab → · Contrast checker → · Palette generator →

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