#6B6331#6B6331

#6B6331 is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.5% C 0.070 H 100.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6B6331
RGBrgb(107, 99, 49)
HSLhsl(52, 37%, 31%)
HSVhsv(52, 54%, 42%)
CMYKcmyk(0%, 7.5%, 54.2%, 58%)
CIE-LABlab(41.64, -4.22, 29.28)
CIE-LCHlch(41.64, 29.58, 98.20°)
OKLaboklab(49.55% -0.0127 0.0693)
OKLCHoklch(49.55% 0.07 100.4)
XYZxyz(11.0800, 12.2716, 4.6902)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6331 #31396B
analogous
#6B4631 #6B6331 #566B31
triadic
#6B6331 #316B63 #63316B
tetradic
#6B6331 #316B46 #31396B #6B3156
square
#6B6331 #316B46 #31396B #6B3156
split-complementary
#6B6331 #31566B #46316B
monochromatic
#17150B #413C1E #6B6331 #958A44 #B6AA60

Accessibility & contrast

On white

6.08
#6B6331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6B6331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6331
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6331#FFFFFF#000000##FFFFFF
##6B63311.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B602D
Deuteranopia (green-blind)
#6D6433
Tritanopia (blue-blind)
#725D57
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6b6331;
/* rgb */ color: rgb(107, 99, 49);
/* oklch */ color: oklch(49.5% 0.070 100.4);
Tailwind
colors: {
  custom: {
    50: '#978f6a',
    500: '#6b6331',
    950: '#000000',
  },
}
SCSS
$custom: #6b6331;
$custom-light: #978f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6331",
  "rgb": {
    "r": 107,
    "g": 99,
    "b": 49
  },
  "hsl": {
    "h": 51.724,
    "s": 37.179,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49549,
    "c": 0.07045,
    "h": 100.4
  },
  "luminance": 0.12271
}

Semantic roles & 50–950 ramp

primary
#6B6331
secondary
#5C659C
accent
#6ACD5B
background
#F9F8F6
surface
#F2F0EB
border
#CCCBC6
text
#0E0C06
muted
#7E7D7A

Preview Lab

Preview with #6B6331

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

Preview Lab → · Contrast checker → · Palette generator →

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