#6D6D16#6D6D16

#6D6D16 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.9% C 0.104 H 109.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6D6D16
RGBrgb(109, 109, 22)
HSLhsl(60, 66%, 26%)
HSVhsv(60, 80%, 43%)
CMYKcmyk(0%, 0%, 79.8%, 57.3%)
CIE-LABlab(44.58, -10.86, 44.86)
CIE-LCHlch(44.58, 46.16, 103.61°)
OKLaboklab(51.86% -0.0348 0.0981)
OKLCHoklch(51.86% 0.104 109.5)
XYZxyz(11.9206, 14.2468, 2.8809)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D6D16 #16166D
analogous
#6D4116 #6D6D16 #416D16
triadic
#6D6D16 #166D6D #6D166D
tetradic
#6D6D16 #166D41 #16166D #6D1641
square
#6D6D16 #166D41 #16166D #6D1641
split-complementary
#6D6D16 #16416D #41166D
monochromatic
#191905 #3A3A0C #6D6D16 #A0A020 #D3D32B

Accessibility & contrast

On white

5.46
#6D6D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#6D6D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D6D16
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D6D16#FFFFFF#000000##FFFFFF
##6D6D161.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766802
Deuteranopia (green-blind)
#776B1D
Tritanopia (blue-blind)
#75665D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6d6d16;
/* rgb */ color: rgb(109, 109, 22);
/* oklch */ color: oklch(51.9% 0.104 109.5);
Tailwind
colors: {
  custom: {
    50: '#9a965c',
    500: '#6d6d16',
    950: '#000000',
  },
}
SCSS
$custom: #6d6d16;
$custom-light: #9a965c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d6d16",
  "rgb": {
    "r": 109,
    "g": 109,
    "b": 22
  },
  "hsl": {
    "h": 60,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.51856,
    "c": 0.10406,
    "h": 109.5
  },
  "luminance": 0.14246
}

Semantic roles & 50–950 ramp

primary
#6D6D16
secondary
#3C3CA3
accent
#3EE93E
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6D6D16

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

Preview Lab → · Contrast checker → · Palette generator →

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