#6C7C11#6C7C11

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

Color values

HEX#6C7C11
RGBrgb(108, 124, 17)
HSLhsl(69, 76%, 28%)
HSVhsv(69, 86%, 49%)
CMYKcmyk(12.9%, 0%, 86.3%, 51.4%)
CIE-LABlab(49.06, -19.60, 50.29)
CIE-LCHlch(49.06, 53.98, 111.29°)
OKLaboklab(55.42% -0.0593 0.1088)
OKLCHoklch(55.42% 0.124 118.6)
XYZxyz(13.4935, 17.6440, 3.2250)
Luminance0.1764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7C11 #21117C
analogous
#7C5611 #6C7C11 #367C11
triadic
#6C7C11 #116C7C #7C116C
tetradic
#6C7C11 #117C56 #21117C #7C1136
square
#6C7C11 #117C56 #21117C #7C1136
split-complementary
#6C7C11 #11367C #56117C
monochromatic
#171B04 #3D460A #6C7C11 #9BB218 #C5E126

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C7C11#FFFFFF#000000##FFFFFF
##6C7C111.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)
#857400
Deuteranopia (green-blind)
#83751D
Tritanopia (blue-blind)
#737569
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6c7c11;
/* rgb */ color: rgb(108, 124, 17);
/* oklch */ color: oklch(55.4% 0.124 118.6);
Tailwind
colors: {
  custom: {
    50: '#9aa15c',
    500: '#6c7c11',
    950: '#000000',
  },
}
SCSS
$custom: #6c7c11;
$custom-light: #9aa15c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7c11",
  "rgb": {
    "r": 108,
    "g": 124,
    "b": 17
  },
  "hsl": {
    "h": 68.972,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5542,
    "c": 0.12389,
    "h": 118.6
  },
  "luminance": 0.17644
}

Semantic roles & 50–950 ramp

primary
#6C7C11
secondary
#4937B2
accent
#35F252
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F04
muted
#7E7E79

Preview Lab

Preview with #6C7C11

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

Preview Lab → · Contrast checker → · Palette generator →

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