#6C7C12#6C7C12

#6C7C12 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#6C7C12
RGBrgb(108, 124, 18)
HSLhsl(69, 75%, 28%)
HSVhsv(69, 85%, 49%)
CMYKcmyk(12.9%, 0%, 85.5%, 51.4%)
CIE-LABlab(49.07, -19.57, 50.03)
CIE-LCHlch(49.07, 53.72, 111.36°)
OKLaboklab(55.42% -0.0591 0.1084)
OKLCHoklch(55.42% 0.123 118.6)
XYZxyz(13.5015, 17.6472, 3.2671)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7C12 #22127C
analogous
#7C5712 #6C7C12 #377C12
triadic
#6C7C12 #126C7C #7C126C
tetradic
#6C7C12 #127C57 #22127C #7C1237
square
#6C7C12 #127C57 #22127C #7C1237
split-complementary
#6C7C12 #12377C #57127C
monochromatic
#171B04 #3D470A #6C7C12 #9BB11A #C4E029

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C7C12#FFFFFF#000000##FFFFFF
##6C7C121.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)
#83751E
Tritanopia (blue-blind)
#737569
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6c7c12;
/* rgb */ color: rgb(108, 124, 18);
/* oklch */ color: oklch(55.4% 0.123 118.6);
Tailwind
colors: {
  custom: {
    50: '#99a15c',
    500: '#6c7c12',
    950: '#000000',
  },
}
SCSS
$custom: #6c7c12;
$custom-light: #99a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7c12",
  "rgb": {
    "r": 108,
    "g": 124,
    "b": 18
  },
  "hsl": {
    "h": 69.057,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.55424,
    "c": 0.12347,
    "h": 118.6
  },
  "luminance": 0.17647
}

Semantic roles & 50–950 ramp

primary
#6C7C12
secondary
#4A38B2
accent
#37F153
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F04
muted
#7E7E79

Preview Lab

Preview with #6C7C12

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

Preview Lab → · Contrast checker → · Palette generator →

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