#6C7012#6C7012

#6C7012 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.5% C 0.110 H 112.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6C7012
RGBrgb(108, 112, 18)
HSLhsl(63, 72%, 25%)
HSVhsv(63, 84%, 44%)
CMYKcmyk(3.6%, 0%, 83.9%, 56.1%)
CIE-LABlab(45.39, -13.16, 46.84)
CIE-LCHlch(45.39, 48.65, 105.69°)
OKLaboklab(52.47% -0.0414 0.1015)
OKLCHoklch(52.47% 0.11 112.2)
XYZxyz(12.0881, 14.8205, 2.7960)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7012 #161270
analogous
#704512 #6C7012 #3D7012
triadic
#6C7012 #126C70 #70126C
tetradic
#6C7012 #127045 #161270 #70123D
square
#6C7012 #127045 #161270 #70123D
split-complementary
#6C7012 #123D70 #451270
monochromatic
#191A04 #393B0A #6C7012 #9FA51A #D2D923

Accessibility & contrast

On white

5.30
#6C7012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6C7012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7012
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7012#FFFFFF#000000##FFFFFF
##6C70121.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#7A6C1B
Tritanopia (blue-blind)
#74695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6c7012;
/* rgb */ color: rgb(108, 112, 18);
/* oklch */ color: oklch(52.5% 0.110 112.2);
Tailwind
colors: {
  custom: {
    50: '#99985a',
    500: '#6c7012',
    950: '#000000',
  },
}
SCSS
$custom: #6c7012;
$custom-light: #99985a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7012",
  "rgb": {
    "r": 108,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 62.553,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.5247,
    "c": 0.10967,
    "h": 112.2
  },
  "luminance": 0.1482
}

Semantic roles & 50–950 ramp

primary
#6C7012
secondary
#3C37A7
accent
#39EF41
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6C7012

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

Preview Lab → · Contrast checker → · Palette generator →

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