#6C7C16#6C7C16

#6C7C16 is a mid, vivid yellow. Relative luminance 0.177; OKLCH L 55.4% C 0.122 H 118.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6C7C16
RGBrgb(108, 124, 22)
HSLhsl(69, 70%, 29%)
HSVhsv(69, 82%, 49%)
CMYKcmyk(12.9%, 0%, 82.3%, 51.4%)
CIE-LABlab(49.08, -19.41, 48.90)
CIE-LCHlch(49.08, 52.61, 111.66°)
OKLaboklab(55.44% -0.0584 0.1067)
OKLCHoklch(55.44% 0.122 118.7)
XYZxyz(13.5371, 17.6615, 3.4548)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7C16 #26167C
analogous
#7C5916 #6C7C16 #397C16
triadic
#6C7C16 #166C7C #7C166C
tetradic
#6C7C16 #167C59 #26167C #7C1639
square
#6C7C16 #167C59 #26167C #7C1639
split-complementary
#6C7C16 #16397C #59167C
monochromatic
#171A05 #3F480D #6C7C16 #99B01F #C0DB32

Accessibility & contrast

On white

4.63
#6C7C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#6C7C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7C16
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7C16#FFFFFF#000000##FFFFFF
##6C7C161.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#837520
Tritanopia (blue-blind)
#737569
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6c7c16;
/* rgb */ color: rgb(108, 124, 22);
/* oklch */ color: oklch(55.4% 0.122 118.7);
Tailwind
colors: {
  custom: {
    50: '#99a15e',
    500: '#6c7c16',
    950: '#000000',
  },
}
SCSS
$custom: #6c7c16;
$custom-light: #99a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7c16",
  "rgb": {
    "r": 108,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 69.412,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55444,
    "c": 0.12163,
    "h": 118.7
  },
  "luminance": 0.17661
}

Semantic roles & 50–950 ramp

primary
#6C7C16
secondary
#4F3DB1
accent
#3BED57
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6C7C16

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

Preview Lab → · Contrast checker → · Palette generator →

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