#6D6A17#6D6A17

#6D6A17 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.1% C 0.100 H 107.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#6D6A17
RGBrgb(109, 106, 23)
HSLhsl(58, 65%, 26%)
HSVhsv(58, 79%, 43%)
CMYKcmyk(0%, 2.8%, 78.9%, 57.3%)
CIE-LABlab(43.69, -9.14, 43.68)
CIE-LCHlch(43.69, 44.62, 101.82°)
OKLaboklab(51.14% -0.0299 0.0958)
OKLCHoklch(51.14% 0.1 107.3)
XYZxyz(11.6158, 13.6215, 2.8278)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D6A17 #171A6D
analogous
#6D3F17 #6D6A17 #456D17
triadic
#6D6A17 #176D6A #6A176D
tetradic
#6D6A17 #176D3F #171A6D #6D1745
square
#6D6A17 #176D3F #171A6D #6D1745
split-complementary
#6D6A17 #17456D #3F176D
monochromatic
#191905 #3A390C #6D6A17 #A09B22 #D2CC2C

Accessibility & contrast

On white

5.64
#6D6A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#6D6A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D6A17
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D6A17#FFFFFF#000000##FFFFFF
##6D6A171.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746605
Deuteranopia (green-blind)
#75691E
Tritanopia (blue-blind)
#75625A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6d6a17;
/* rgb */ color: rgb(109, 106, 23);
/* oklch */ color: oklch(51.1% 0.100 107.3);
Tailwind
colors: {
  custom: {
    50: '#9a945c',
    500: '#6d6a17',
    950: '#000000',
  },
}
SCSS
$custom: #6d6a17;
$custom-light: #9a945c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d6a17",
  "rgb": {
    "r": 109,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 57.907,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51139,
    "c": 0.10031,
    "h": 107.3
  },
  "luminance": 0.13621
}

Semantic roles & 50–950 ramp

primary
#6D6A17
secondary
#3D40A3
accent
#46E840
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6D6A17

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

Preview Lab → · Contrast checker → · Palette generator →

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