#6C7916#6C7916

#6C7916 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 54.7% C 0.118 H 117.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#6C7916
RGBrgb(108, 121, 22)
HSLhsl(68, 69%, 28%)
HSVhsv(68, 82%, 47%)
CMYKcmyk(10.7%, 0%, 81.8%, 52.5%)
CIE-LABlab(48.16, -17.84, 48.07)
CIE-LCHlch(48.16, 51.27, 110.36°)
OKLaboklab(54.7% -0.0541 0.1049)
OKLCHoklch(54.7% 0.118 117.3)
XYZxyz(13.1669, 16.9210, 3.3313)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7916 #231679
analogous
#795416 #6C7916 #3A7916
triadic
#6C7916 #166C79 #79166C
tetradic
#6C7916 #167954 #231679 #79163A
square
#6C7916 #167954 #231679 #79163A
split-complementary
#6C7916 #163A79 #541679
monochromatic
#171A05 #3E450D #6C7916 #9AAD1F #C3D930

Accessibility & contrast

On white

4.79
#6C7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#6C7916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7916
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7916#FFFFFF#000000##FFFFFF
##6C79161.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c7916;
/* rgb */ color: rgb(108, 121, 22);
/* oklch */ color: oklch(54.7% 0.118 117.3);
Tailwind
colors: {
  custom: {
    50: '#999f5d',
    500: '#6c7916',
    950: '#000000',
  },
}
SCSS
$custom: #6c7916;
$custom-light: #999f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7916",
  "rgb": {
    "r": 108,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 67.879,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54701,
    "c": 0.11805,
    "h": 117.3
  },
  "luminance": 0.16921
}

Semantic roles & 50–950 ramp

primary
#6C7916
secondary
#4B3DAE
accent
#3CEC53
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6C7916

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

Preview Lab → · Contrast checker → · Palette generator →

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