#6C7A16#6C7A16

#6C7A16 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 54.9% C 0.119 H 117.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6C7A16
RGBrgb(108, 122, 22)
HSLhsl(68, 69%, 28%)
HSVhsv(68, 82%, 48%)
CMYKcmyk(11.5%, 0%, 82%, 52.2%)
CIE-LABlab(48.47, -18.37, 48.34)
CIE-LCHlch(48.47, 51.72, 110.80°)
OKLaboklab(54.95% -0.0555 0.1055)
OKLCHoklch(54.95% 0.119 117.7)
XYZxyz(13.2890, 17.1653, 3.3721)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7A16 #24167A
analogous
#7A5616 #6C7A16 #3A7A16
triadic
#6C7A16 #166C7A #7A166C
tetradic
#6C7A16 #167A56 #24167A #7A163A
square
#6C7A16 #167A56 #24167A #7A163A
split-complementary
#6C7A16 #163A7A #56167A
monochromatic
#171A05 #3E460D #6C7A16 #9AAE1F #C2DA31

Accessibility & contrast

On white

4.74
#6C7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#6C7A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7A16
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7A16#FFFFFF#000000##FFFFFF
##6C7A161.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#817420
Tritanopia (blue-blind)
#737368
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6c7a16;
/* rgb */ color: rgb(108, 122, 22);
/* oklch */ color: oklch(54.9% 0.119 117.7);
Tailwind
colors: {
  custom: {
    50: '#99a05d',
    500: '#6c7a16',
    950: '#000000',
  },
}
SCSS
$custom: #6c7a16;
$custom-light: #99a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7a16",
  "rgb": {
    "r": 108,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 68.4,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54949,
    "c": 0.11923,
    "h": 117.7
  },
  "luminance": 0.17165
}

Semantic roles & 50–950 ramp

primary
#6C7A16
secondary
#4D3DAF
accent
#3CEC54
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6C7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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