#6C5D17#6C5D17

#6C5D17 is a mid, moderate yellow. Relative luminance 0.111; OKLCH L 48.0% C 0.088 H 96.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#6C5D17
RGBrgb(108, 93, 23)
HSLhsl(49, 65%, 26%)
HSVhsv(49, 79%, 42%)
CMYKcmyk(0%, 13.9%, 78.7%, 57.6%)
CIE-LABlab(39.71, -2.12, 39.91)
CIE-LCHlch(39.71, 39.97, 93.04°)
OKLaboklab(47.96% -0.01 0.0878)
OKLCHoklch(47.96% 0.088 96.5)
XYZxyz(10.2539, 11.0793, 2.4089)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5D17 #17266C
analogous
#6C3217 #6C5D17 #506C17
triadic
#6C5D17 #176C5D #5D176C
tetradic
#6C5D17 #176C32 #17266C #6C1750
square
#6C5D17 #176C32 #17266C #6C1750
split-complementary
#6C5D17 #17506C #32176C
monochromatic
#191605 #3A320C #6C5D17 #9E8822 #D1B42C

Accessibility & contrast

On white

6.53
#6C5D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6C5D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5D17
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5D17#FFFFFF#000000##FFFFFF
##6C5D171.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0A
Deuteranopia (green-blind)
#6B601B
Tritanopia (blue-blind)
#75554F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6c5d17;
/* rgb */ color: rgb(108, 93, 23);
/* oklch */ color: oklch(48.0% 0.088 96.5);
Tailwind
colors: {
  custom: {
    50: '#998a5a',
    500: '#6c5d17',
    950: '#000000',
  },
}
SCSS
$custom: #6c5d17;
$custom-light: #998a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5d17",
  "rgb": {
    "r": 108,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 49.412,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4796,
    "c": 0.08836,
    "h": 96.5
  },
  "luminance": 0.11079
}

Semantic roles & 50–950 ramp

primary
#6C5D17
secondary
#3D4FA2
accent
#5EE840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #6C5D17

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

Preview Lab → · Contrast checker → · Palette generator →

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