#6C7112#6C7112

#6C7112 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 52.7% C 0.111 H 112.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6C7112
RGBrgb(108, 113, 18)
HSLhsl(63, 73%, 26%)
HSVhsv(63, 84%, 44%)
CMYKcmyk(4.4%, 0%, 84.1%, 55.7%)
CIE-LABlab(45.69, -13.70, 47.10)
CIE-LCHlch(45.69, 49.05, 106.22°)
OKLaboklab(52.71% -0.043 0.1021)
OKLCHoklch(52.71% 0.111 112.8)
XYZxyz(12.1991, 15.0424, 2.8330)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7112 #171271
analogous
#714612 #6C7112 #3C7112
triadic
#6C7112 #126C71 #71126C
tetradic
#6C7112 #127146 #171271 #71123C
square
#6C7112 #127146 #171271 #71123C
split-complementary
#6C7112 #123C71 #461271
monochromatic
#191A04 #3A3C0A #6C7112 #9EA61A #D1DB23

Accessibility & contrast

On white

5.24
#6C7112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#6C7112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7112
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7112#FFFFFF#000000##FFFFFF
##6C71121.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7A6D1B
Tritanopia (blue-blind)
#746A60
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6c7112;
/* rgb */ color: rgb(108, 113, 18);
/* oklch */ color: oklch(52.7% 0.111 112.8);
Tailwind
colors: {
  custom: {
    50: '#99995a',
    500: '#6c7112',
    950: '#000000',
  },
}
SCSS
$custom: #6c7112;
$custom-light: #99995a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7112",
  "rgb": {
    "r": 108,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 63.158,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.52714,
    "c": 0.11078,
    "h": 112.8
  },
  "luminance": 0.15042
}

Semantic roles & 50–950 ramp

primary
#6C7112
secondary
#3D37A8
accent
#39EF42
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6C7112

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

Preview Lab → · Contrast checker → · Palette generator →

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