#6D7916#6D7916

#6D7916 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 54.8% C 0.118 H 116.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6D7916
RGBrgb(109, 121, 22)
HSLhsl(67, 69%, 28%)
HSVhsv(67, 82%, 47%)
CMYKcmyk(9.9%, 0%, 81.8%, 52.5%)
CIE-LABlab(48.24, -17.38, 48.17)
CIE-LCHlch(48.24, 51.21, 109.85°)
OKLaboklab(54.79% -0.0529 0.1051)
OKLCHoklch(54.79% 0.118 116.7)
XYZxyz(13.2892, 16.9841, 3.3371)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7916 #221679
analogous
#795316 #6D7916 #3B7916
triadic
#6D7916 #166D79 #79166D
tetradic
#6D7916 #167953 #221679 #79163B
square
#6D7916 #167953 #221679 #79163B
split-complementary
#6D7916 #163B79 #531679
monochromatic
#171A05 #3E450D #6D7916 #9CAD1F #C5D930

Accessibility & contrast

On white

4.78
#6D7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#6D7916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7916
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7916#FFFFFF#000000##FFFFFF
##6D79161.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#817320
Tritanopia (blue-blind)
#747267
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6d7916;
/* rgb */ color: rgb(109, 121, 22);
/* oklch */ color: oklch(54.8% 0.118 116.7);
Tailwind
colors: {
  custom: {
    50: '#9a9f5d',
    500: '#6d7916',
    950: '#000000',
  },
}
SCSS
$custom: #6d7916;
$custom-light: #9a9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7916",
  "rgb": {
    "r": 109,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 67.273,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54785,
    "c": 0.11765,
    "h": 116.7
  },
  "luminance": 0.16984
}

Semantic roles & 50–950 ramp

primary
#6D7916
secondary
#4A3DAE
accent
#3CEC51
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7916

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

Preview Lab → · Contrast checker → · Palette generator →

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