#6B5D17#6B5D17

#6B5D17 is a mid, moderate yellow. Relative luminance 0.110; OKLCH L 47.9% C 0.088 H 97.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#6B5D17
RGBrgb(107, 93, 23)
HSLhsl(50, 65%, 25%)
HSVhsv(50, 79%, 42%)
CMYKcmyk(0%, 13.1%, 78.5%, 58%)
CIE-LABlab(39.61, -2.61, 39.78)
CIE-LCHlch(39.61, 39.86, 93.75°)
OKLaboklab(47.85% -0.0114 0.0876)
OKLCHoklch(47.85% 0.088 97.4)
XYZxyz(10.1329, 11.0169, 2.4032)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5D17 #17256B
analogous
#6B3317 #6B5D17 #4F6B17
triadic
#6B5D17 #176B5D #5D176B
tetradic
#6B5D17 #176B33 #17256B #6B174F
square
#6B5D17 #176B33 #17256B #6B174F
split-complementary
#6B5D17 #174F6B #33176B
monochromatic
#191605 #39310C #6B5D17 #9D8922 #D0B52D

Accessibility & contrast

On white

6.56
#6B5D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#6B5D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5D17
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5D17#FFFFFF#000000##FFFFFF
##6B5D171.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0A
Deuteranopia (green-blind)
#6B5F1B
Tritanopia (blue-blind)
#74554F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6b5d17;
/* rgb */ color: rgb(107, 93, 23);
/* oklch */ color: oklch(47.9% 0.088 97.4);
Tailwind
colors: {
  custom: {
    50: '#988a5a',
    500: '#6b5d17',
    950: '#000000',
  },
}
SCSS
$custom: #6b5d17;
$custom-light: #988a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5d17",
  "rgb": {
    "r": 107,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 50,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47852,
    "c": 0.08829,
    "h": 97.4
  },
  "luminance": 0.11016
}

Semantic roles & 50–950 ramp

primary
#6B5D17
secondary
#3D4DA1
accent
#5CE840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #6B5D17

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

Preview Lab → · Contrast checker → · Palette generator →

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