#6C6918#6C6918

#6C6918 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#6C6918
RGBrgb(108, 105, 24)
HSLhsl(58, 64%, 26%)
HSVhsv(58, 78%, 42%)
CMYKcmyk(0%, 2.8%, 77.8%, 57.6%)
CIE-LABlab(43.30, -9.00, 42.91)
CIE-LCHlch(43.30, 43.85, 101.85°)
OKLaboklab(50.81% -0.0293 0.0944)
OKLCHoklch(50.81% 0.099 107.3)
XYZxyz(11.4012, 13.3576, 2.8417)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6918 #181B6C
analogous
#6C3F18 #6C6918 #456C18
triadic
#6C6918 #186C69 #69186C
tetradic
#6C6918 #186C3F #181B6C #6C1845
square
#6C6918 #186C3F #181B6C #6C1845
split-complementary
#6C6918 #18456C #3F186C
monochromatic
#191806 #3A380D #6C6918 #9E9A23 #D0CA2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C6918#FFFFFF#000000##FFFFFF
##6C69181.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)
#726507
Deuteranopia (green-blind)
#74681E
Tritanopia (blue-blind)
#74625A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6c6918;
/* rgb */ color: rgb(108, 105, 24);
/* oklch */ color: oklch(50.8% 0.099 107.3);
Tailwind
colors: {
  custom: {
    50: '#99935c',
    500: '#6c6918',
    950: '#000000',
  },
}
SCSS
$custom: #6c6918;
$custom-light: #99935c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6918",
  "rgb": {
    "r": 108,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 57.857,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.5081,
    "c": 0.09883,
    "h": 107.3
  },
  "luminance": 0.13357
}

Semantic roles & 50–950 ramp

primary
#6C6918
secondary
#3E42A2
accent
#47E741
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6C6918

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

Preview Lab → · Contrast checker → · Palette generator →

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