#6C701C#6C701C

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

Color values

HEX#6C701C
RGBrgb(108, 112, 28)
HSLhsl(63, 60%, 27%)
HSVhsv(63, 75%, 44%)
CMYKcmyk(3.6%, 0%, 75%, 56.1%)
CIE-LABlab(45.44, -12.70, 43.42)
CIE-LCHlch(45.44, 45.24, 106.30°)
OKLaboklab(52.53% -0.0393 0.0962)
OKLCHoklch(52.53% 0.104 112.2)
XYZxyz(12.1885, 14.8606, 3.3247)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C701C #201C70
analogous
#704A1C #6C701C #42701C
triadic
#6C701C #1C6C70 #701C6C
tetradic
#6C701C #1C704A #201C70 #701C42
square
#6C701C #1C704A #201C70 #701C42
split-complementary
#6C701C #1C4270 #4A1C70
monochromatic
#181806 #3D3F10 #6C701C #9BA128 #C6CD39

Accessibility & contrast

On white

5.29
#6C701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6C701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C701C
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C701C#FFFFFF#000000##FFFFFF
##6C701C1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B0C
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#746960
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6c701c;
/* rgb */ color: rgb(108, 112, 28);
/* oklch */ color: oklch(52.5% 0.104 112.2);
Tailwind
colors: {
  custom: {
    50: '#99985f',
    500: '#6c701c',
    950: '#000000',
  },
}
SCSS
$custom: #6c701c;
$custom-light: #99985f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c701c",
  "rgb": {
    "r": 108,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 62.857,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52532,
    "c": 0.10395,
    "h": 112.2
  },
  "luminance": 0.1486
}

Semantic roles & 50–950 ramp

primary
#6C701C
secondary
#4843A5
accent
#45E34C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6C701C

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

Preview Lab → · Contrast checker → · Palette generator →

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