#6C6817#6C6817

#6C6817 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.6% C 0.098 H 106.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#6C6817
RGBrgb(108, 104, 23)
HSLhsl(57, 65%, 26%)
HSVhsv(57, 79%, 42%)
CMYKcmyk(0%, 3.7%, 78.7%, 57.6%)
CIE-LABlab(42.99, -8.48, 43.00)
CIE-LCHlch(42.99, 43.83, 101.16°)
OKLaboklab(50.56% -0.028 0.0944)
OKLCHoklch(50.56% 0.098 106.5)
XYZxyz(11.2898, 13.1510, 2.7542)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6817 #171B6C
analogous
#6C3D17 #6C6817 #456C17
triadic
#6C6817 #176C68 #68176C
tetradic
#6C6817 #176C3D #171B6C #6C1745
square
#6C6817 #176C3D #171B6C #6C1745
split-complementary
#6C6817 #17456C #3D176C
monochromatic
#191805 #3A370C #6C6817 #9E9922 #D1C92C

Accessibility & contrast

On white

5.78
#6C6817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6C6817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C6817
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C6817#FFFFFF#000000##FFFFFF
##6C68171.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726406
Deuteranopia (green-blind)
#73671D
Tritanopia (blue-blind)
#746159
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6c6817;
/* rgb */ color: rgb(108, 104, 23);
/* oklch */ color: oklch(50.6% 0.098 106.5);
Tailwind
colors: {
  custom: {
    50: '#99925b',
    500: '#6c6817',
    950: '#000000',
  },
}
SCSS
$custom: #6c6817;
$custom-light: #99925b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6817",
  "rgb": {
    "r": 108,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 57.176,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50563,
    "c": 0.09842,
    "h": 106.5
  },
  "luminance": 0.13151
}

Semantic roles & 50–950 ramp

primary
#6C6817
secondary
#3D42A2
accent
#48E840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6C6817

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

Preview Lab → · Contrast checker → · Palette generator →

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