#6C7C13#6C7C13

#6C7C13 is a mid, vivid yellow. Relative luminance 0.176; OKLCH L 55.4% C 0.123 H 118.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#6C7C13
RGBrgb(108, 124, 19)
HSLhsl(69, 73%, 28%)
HSVhsv(69, 85%, 49%)
CMYKcmyk(12.9%, 0%, 84.7%, 51.4%)
CIE-LABlab(49.07, -19.53, 49.76)
CIE-LCHlch(49.07, 53.46, 111.43°)
OKLaboklab(55.43% -0.0589 0.108)
OKLCHoklch(55.43% 0.123 118.6)
XYZxyz(13.5099, 17.6506, 3.3112)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7C13 #23137C
analogous
#7C5713 #6C7C13 #377C13
triadic
#6C7C13 #136C7C #7C136C
tetradic
#6C7C13 #137C57 #23137C #7C1337
square
#6C7C13 #137C57 #23137C #7C1337
split-complementary
#6C7C13 #13377C #57137C
monochromatic
#171B04 #3E470B #6C7C13 #9AB11B #C3DF2B

Accessibility & contrast

On white

4.64
#6C7C13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6C7C13
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7C13#FFFFFF#000000##FFFFFF
##6C7C131.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c7c13;
/* rgb */ color: rgb(108, 124, 19);
/* oklch */ color: oklch(55.4% 0.123 118.6);
Tailwind
colors: {
  custom: {
    50: '#99a15c',
    500: '#6c7c13',
    950: '#000000',
  },
}
SCSS
$custom: #6c7c13;
$custom-light: #99a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7c13",
  "rgb": {
    "r": 108,
    "g": 124,
    "b": 19
  },
  "hsl": {
    "h": 69.143,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55429,
    "c": 0.12304,
    "h": 118.6
  },
  "luminance": 0.1765
}

Semantic roles & 50–950 ramp

primary
#6C7C13
secondary
#4B39B2
accent
#38F054
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6C7C13

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

Preview Lab → · Contrast checker → · Palette generator →

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