#6D6017#6D6017

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

Color values

HEX#6D6017
RGBrgb(109, 96, 23)
HSLhsl(51, 65%, 26%)
HSVhsv(51, 79%, 43%)
CMYKcmyk(0%, 11.9%, 78.9%, 57.3%)
CIE-LABlab(40.70, -3.39, 40.89)
CIE-LCHlch(40.70, 41.03, 94.75°)
OKLaboklab(48.77% -0.0137 0.0898)
OKLCHoklch(48.77% 0.091 98.7)
XYZxyz(10.6447, 11.6793, 2.5041)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D6017 #17246D
analogous
#6D3517 #6D6017 #4F6D17
triadic
#6D6017 #176D60 #60176D
tetradic
#6D6017 #176D35 #17246D #6D174F
square
#6D6017 #176D35 #17246D #6D174F
split-complementary
#6D6017 #174F6D #35176D
monochromatic
#191605 #3A330C #6D6017 #A08D22 #D2B92C

Accessibility & contrast

On white

6.30
#6D6017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6D6017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D6017
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D6017#FFFFFF#000000##FFFFFF
##6D60171.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d6017;
/* rgb */ color: rgb(109, 96, 23);
/* oklch */ color: oklch(48.8% 0.091 98.7);
Tailwind
colors: {
  custom: {
    50: '#9a8c5a',
    500: '#6d6017',
    950: '#000000',
  },
}
SCSS
$custom: #6d6017;
$custom-light: #9a8c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6d6017",
  "rgb": {
    "r": 109,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 50.93,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48767,
    "c": 0.09086,
    "h": 98.7
  },
  "luminance": 0.11679
}

Semantic roles & 50–950 ramp

primary
#6D6017
secondary
#3D4CA3
accent
#59E840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6D6017

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

Preview Lab → · Contrast checker → · Palette generator →

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