#6B6117#6B6117

#6B6117 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.8% C 0.092 H 101.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6B6117
RGBrgb(107, 97, 23)
HSLhsl(53, 65%, 25%)
HSVhsv(53, 79%, 42%)
CMYKcmyk(0%, 9.3%, 78.5%, 58%)
CIE-LABlab(40.80, -4.95, 40.90)
CIE-LCHlch(40.80, 41.20, 96.90°)
OKLaboklab(48.79% -0.018 0.0899)
OKLCHoklch(48.79% 0.092 101.3)
XYZxyz(10.4932, 11.7375, 2.5233)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6117 #17216B
analogous
#6B3717 #6B6117 #4B6B17
triadic
#6B6117 #176B61 #61176B
tetradic
#6B6117 #176B37 #17216B #6B174B
square
#6B6117 #176B37 #17216B #6B174B
split-complementary
#6B6117 #174B6B #37176B
monochromatic
#191705 #39330C #6B6117 #9D8F22 #D0BC2D

Accessibility & contrast

On white

6.27
#6B6117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6B6117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6117
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6117#FFFFFF#000000##FFFFFF
##6B61171.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E09
Deuteranopia (green-blind)
#6E621C
Tritanopia (blue-blind)
#745953
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6b6117;
/* rgb */ color: rgb(107, 97, 23);
/* oklch */ color: oklch(48.8% 0.092 101.3);
Tailwind
colors: {
  custom: {
    50: '#988d5a',
    500: '#6b6117',
    950: '#000000',
  },
}
SCSS
$custom: #6b6117;
$custom-light: #988d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6117",
  "rgb": {
    "r": 107,
    "g": 97,
    "b": 23
  },
  "hsl": {
    "h": 52.857,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48794,
    "c": 0.09172,
    "h": 101.3
  },
  "luminance": 0.11737
}

Semantic roles & 50–950 ramp

primary
#6B6117
secondary
#3D49A1
accent
#54E840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B6117

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

Preview Lab → · Contrast checker → · Palette generator →

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