#6C701E#6C701E

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

Color values

HEX#6C701E
RGBrgb(108, 112, 30)
HSLhsl(63, 58%, 28%)
HSVhsv(63, 73%, 44%)
CMYKcmyk(3.6%, 0%, 73.2%, 56.1%)
CIE-LABlab(45.46, -12.59, 42.64)
CIE-LCHlch(45.46, 44.46, 106.45°)
OKLaboklab(52.55% -0.0388 0.095)
OKLCHoklch(52.55% 0.103 112.2)
XYZxyz(12.2132, 14.8705, 3.4550)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C701E #221E70
analogous
#704B1E #6C701E #43701E
triadic
#6C701E #1E6C70 #701E6C
tetradic
#6C701E #1E704B #221E70 #701E43
square
#6C701E #1E704B #221E70 #701E43
split-complementary
#6C701E #1E4370 #4B1E70
monochromatic
#171806 #3D4011 #6C701E #9BA02B #C4CB3D

Accessibility & contrast

On white

5.28
#6C701E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6C701E
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C701E#FFFFFF#000000##FFFFFF
##6C701E1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c701e;
/* rgb */ color: rgb(108, 112, 30);
/* oklch */ color: oklch(52.5% 0.103 112.2);
Tailwind
colors: {
  custom: {
    50: '#999860',
    500: '#6c701e',
    950: '#000000',
  },
}
SCSS
$custom: #6c701e;
$custom-light: #999860;
$custom-dark: #000000;
JSON
{
  "hex": "#6c701e",
  "rgb": {
    "r": 108,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 62.927,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52547,
    "c": 0.10258,
    "h": 112.2
  },
  "luminance": 0.1487
}

Semantic roles & 50–950 ramp

primary
#6C701E
secondary
#4A46A4
accent
#47E14E
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6C701E

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

Preview Lab → · Contrast checker → · Palette generator →

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