#6B6918#6B6918

#6B6918 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.7% C 0.099 H 108.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#6B6918
RGBrgb(107, 105, 24)
HSLhsl(59, 63%, 26%)
HSVhsv(59, 78%, 42%)
CMYKcmyk(0%, 1.9%, 77.6%, 58%)
CIE-LABlab(43.20, -9.48, 42.79)
CIE-LCHlch(43.20, 43.83, 102.49°)
OKLaboklab(50.71% -0.0306 0.0942)
OKLCHoklch(50.71% 0.099 108)
XYZxyz(11.2803, 13.2953, 2.8360)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6918 #181A6B
analogous
#6B3F18 #6B6918 #436B18
triadic
#6B6918 #186B69 #69186B
tetradic
#6B6918 #186B3F #181A6B #6B1843
square
#6B6918 #186B3F #181A6B #6B1843
split-complementary
#6B6918 #18436B #3F186B
monochromatic
#191906 #39380D #6B6918 #9D9A23 #CFCB2E

Accessibility & contrast

On white

5.74
#6B6918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6B6918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6918
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6918#FFFFFF#000000##FFFFFF
##6B69181.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726507
Deuteranopia (green-blind)
#74671E
Tritanopia (blue-blind)
#73625A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6b6918;
/* rgb */ color: rgb(107, 105, 24);
/* oklch */ color: oklch(50.7% 0.099 108.0);
Tailwind
colors: {
  custom: {
    50: '#98935c',
    500: '#6b6918',
    950: '#000000',
  },
}
SCSS
$custom: #6b6918;
$custom-light: #98935c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6918",
  "rgb": {
    "r": 107,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 58.554,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50713,
    "c": 0.09902,
    "h": 108
  },
  "luminance": 0.13295
}

Semantic roles & 50–950 ramp

primary
#6B6918
secondary
#3E40A1
accent
#45E641
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6B6918

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

Preview Lab → · Contrast checker → · Palette generator →

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