#6C7212#6C7212

#6C7212 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.0% C 0.112 H 113.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#6C7212
RGBrgb(108, 114, 18)
HSLhsl(64, 73%, 26%)
HSVhsv(64, 84%, 45%)
CMYKcmyk(5.3%, 0%, 84.2%, 55.3%)
CIE-LABlab(46.00, -14.25, 47.37)
CIE-LCHlch(46.00, 49.46, 106.74°)
OKLaboklab(52.96% -0.0445 0.1027)
OKLCHoklch(52.96% 0.112 113.4)
XYZxyz(12.3112, 15.2667, 2.8704)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7212 #181272
analogous
#724812 #6C7212 #3C7212
triadic
#6C7212 #126C72 #72126C
tetradic
#6C7212 #127248 #181272 #72123C
square
#6C7212 #127248 #181272 #72123C
split-complementary
#6C7212 #123C72 #481272
monochromatic
#191A04 #3A3D0A #6C7212 #9EA71A #D0DC23

Accessibility & contrast

On white

5.18
#6C7212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6C7212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7212
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7212#FFFFFF#000000##FFFFFF
##6C72121.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7B6E1C
Tritanopia (blue-blind)
#746B61
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6c7212;
/* rgb */ color: rgb(108, 114, 18);
/* oklch */ color: oklch(53.0% 0.112 113.4);
Tailwind
colors: {
  custom: {
    50: '#999a5b',
    500: '#6c7212',
    950: '#000000',
  },
}
SCSS
$custom: #6c7212;
$custom-light: #999a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7212",
  "rgb": {
    "r": 108,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 63.75,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.52959,
    "c": 0.1119,
    "h": 113.4
  },
  "luminance": 0.15266
}

Semantic roles & 50–950 ramp

primary
#6C7212
secondary
#3E37A9
accent
#38EF44
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6C7212

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

Preview Lab → · Contrast checker → · Palette generator →

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