#6C6917#6C6917

#6C6917 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.8% C 0.099 H 107.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6C6917
RGBrgb(108, 105, 23)
HSLhsl(58, 65%, 26%)
HSVhsv(58, 79%, 42%)
CMYKcmyk(0%, 2.8%, 78.7%, 57.6%)
CIE-LABlab(43.29, -9.05, 43.28)
CIE-LCHlch(43.29, 44.21, 101.81°)
OKLaboklab(50.8% -0.0296 0.0949)
OKLCHoklch(50.8% 0.099 107.3)
XYZxyz(11.3910, 13.3536, 2.7879)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6917 #171A6C
analogous
#6C3E17 #6C6917 #446C17
triadic
#6C6917 #176C69 #69176C
tetradic
#6C6917 #176C3E #171A6C #6C1744
square
#6C6917 #176C3E #171A6C #6C1744
split-complementary
#6C6917 #17446C #3E176C
monochromatic
#191905 #3A380C #6C6917 #9E9A22 #D1CB2C

Accessibility & contrast

On white

5.72
#6C6917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6C6917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C6917
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C6917#FFFFFF#000000##FFFFFF
##6C69171.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726505
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#746259
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6c6917;
/* rgb */ color: rgb(108, 105, 23);
/* oklch */ color: oklch(50.8% 0.099 107.3);
Tailwind
colors: {
  custom: {
    50: '#99935b',
    500: '#6c6917',
    950: '#000000',
  },
}
SCSS
$custom: #6c6917;
$custom-light: #99935b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6917",
  "rgb": {
    "r": 108,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 57.882,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50803,
    "c": 0.09944,
    "h": 107.3
  },
  "luminance": 0.13353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C6917

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

Preview Lab → · Contrast checker → · Palette generator →

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