#6C6816#6C6816

#6C6816 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.6% C 0.099 H 106.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6C6816
RGBrgb(108, 104, 22)
HSLhsl(57, 66%, 25%)
HSVhsv(57, 80%, 42%)
CMYKcmyk(0%, 3.7%, 79.6%, 57.6%)
CIE-LABlab(42.98, -8.53, 43.36)
CIE-LCHlch(42.98, 44.19, 101.13°)
OKLaboklab(50.56% -0.0282 0.0949)
OKLCHoklch(50.56% 0.099 106.6)
XYZxyz(11.2799, 13.1471, 2.7024)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6816 #161A6C
analogous
#6C3D16 #6C6816 #456C16
triadic
#6C6816 #166C68 #68166C
tetradic
#6C6816 #166C3D #161A6C #6C1645
square
#6C6816 #166C3D #161A6C #6C1645
split-complementary
#6C6816 #16456C #3D166C
monochromatic
#191805 #39370C #6C6816 #9F9920 #D2CA2B

Accessibility & contrast

On white

5.79
#6C6816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6C6816
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C6816#FFFFFF#000000##FFFFFF
##6C68161.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726404
Deuteranopia (green-blind)
#73671C
Tritanopia (blue-blind)
#746159
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6c6816;
/* rgb */ color: rgb(108, 104, 22);
/* oklch */ color: oklch(50.6% 0.099 106.6);
Tailwind
colors: {
  custom: {
    50: '#99925b',
    500: '#6c6816',
    950: '#000000',
  },
}
SCSS
$custom: #6c6816;
$custom-light: #99925b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6816",
  "rgb": {
    "r": 108,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 57.209,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50556,
    "c": 0.09902,
    "h": 106.6
  },
  "luminance": 0.13147
}

Semantic roles & 50–950 ramp

primary
#6C6816
secondary
#3C40A2
accent
#47E93F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6C6816

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

Preview Lab → · Contrast checker → · Palette generator →

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