#6B6317#6B6317

#6B6317 is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 49.3% C 0.094 H 103.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6B6317
RGBrgb(107, 99, 23)
HSLhsl(54, 65%, 25%)
HSVhsv(54, 79%, 42%)
CMYKcmyk(0%, 7.5%, 78.5%, 58%)
CIE-LABlab(41.39, -6.11, 41.47)
CIE-LCHlch(41.39, 41.91, 98.38°)
OKLaboklab(49.27% -0.0213 0.0911)
OKLCHoklch(49.27% 0.094 103.1)
XYZxyz(10.6804, 12.1118, 2.5857)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6317 #171F6B
analogous
#6B3917 #6B6317 #496B17
triadic
#6B6317 #176B63 #63176B
tetradic
#6B6317 #176B39 #171F6B #6B1749
square
#6B6317 #176B39 #171F6B #6B1749
split-complementary
#6B6317 #17496B #39176B
monochromatic
#191705 #39340C #6B6317 #9D9222 #D0C02D

Accessibility & contrast

On white

6.14
#6B6317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6B6317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6317
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6317#FFFFFF#000000##FFFFFF
##6B63171.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6008
Deuteranopia (green-blind)
#6F631C
Tritanopia (blue-blind)
#745C54
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6b6317;
/* rgb */ color: rgb(107, 99, 23);
/* oklch */ color: oklch(49.3% 0.094 103.1);
Tailwind
colors: {
  custom: {
    50: '#988f5b',
    500: '#6b6317',
    950: '#000000',
  },
}
SCSS
$custom: #6b6317;
$custom-light: #988f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6317",
  "rgb": {
    "r": 107,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 54.286,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49268,
    "c": 0.09359,
    "h": 103.1
  },
  "luminance": 0.12111
}

Semantic roles & 50–950 ramp

primary
#6B6317
secondary
#3D46A1
accent
#50E840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B6317

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

Preview Lab → · Contrast checker → · Palette generator →

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