#6B5F17#6B5F17

#6B5F17 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.3% C 0.090 H 99.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#6B5F17
RGBrgb(107, 95, 23)
HSLhsl(51, 65%, 25%)
HSVhsv(51, 79%, 42%)
CMYKcmyk(0%, 11.2%, 78.5%, 58%)
CIE-LABlab(40.20, -3.78, 40.34)
CIE-LCHlch(40.20, 40.52, 95.36°)
OKLaboklab(48.32% -0.0147 0.0888)
OKLCHoklch(48.32% 0.09 99.4)
XYZxyz(10.3108, 11.3726, 2.4625)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5F17 #17236B
analogous
#6B3517 #6B5F17 #4D6B17
triadic
#6B5F17 #176B5F #5F176B
tetradic
#6B5F17 #176B35 #17236B #6B174D
square
#6B5F17 #176B35 #17236B #6B174D
split-complementary
#6B5F17 #174D6B #35176B
monochromatic
#191605 #39320C #6B5F17 #9D8C22 #D0B82D

Accessibility & contrast

On white

6.41
#6B5F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6B5F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5F17
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5F17#FFFFFF#000000##FFFFFF
##6B5F171.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C0A
Deuteranopia (green-blind)
#6C611C
Tritanopia (blue-blind)
#745751
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6b5f17;
/* rgb */ color: rgb(107, 95, 23);
/* oklch */ color: oklch(48.3% 0.090 99.4);
Tailwind
colors: {
  custom: {
    50: '#988c5a',
    500: '#6b5f17',
    950: '#000000',
  },
}
SCSS
$custom: #6b5f17;
$custom-light: #988c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5f17",
  "rgb": {
    "r": 107,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 51.429,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48322,
    "c": 0.08996,
    "h": 99.4
  },
  "luminance": 0.11372
}

Semantic roles & 50–950 ramp

primary
#6B5F17
secondary
#3D4BA1
accent
#58E840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B5F17

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

Preview Lab → · Contrast checker → · Palette generator →

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