#6C701D#6C701D

#6C701D 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.29:1 contrast (WCAG AA passes).

Color values

HEX#6C701D
RGBrgb(108, 112, 29)
HSLhsl(63, 59%, 28%)
HSVhsv(63, 74%, 44%)
CMYKcmyk(3.6%, 0%, 74.1%, 56.1%)
CIE-LABlab(45.45, -12.64, 43.04)
CIE-LCHlch(45.45, 44.86, 106.37°)
OKLaboklab(52.54% -0.039 0.0956)
OKLCHoklch(52.54% 0.103 112.2)
XYZxyz(12.2007, 14.8655, 3.3888)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C701D #211D70
analogous
#704B1D #6C701D #42701D
triadic
#6C701D #1D6C70 #701D6C
tetradic
#6C701D #1D704B #211D70 #701D42
square
#6C701D #1D704B #211D70 #701D42
split-complementary
#6C701D #1D4270 #4B1D70
monochromatic
#171806 #3D3F10 #6C701D #9BA12A #C5CC3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C701D#FFFFFF#000000##FFFFFF
##6C701D1.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)
#796B0E
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#746960
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6c701d;
/* rgb */ color: rgb(108, 112, 29);
/* oklch */ color: oklch(52.5% 0.103 112.2);
Tailwind
colors: {
  custom: {
    50: '#99985f',
    500: '#6c701d',
    950: '#000000',
  },
}
SCSS
$custom: #6c701d;
$custom-light: #99985f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c701d",
  "rgb": {
    "r": 108,
    "g": 112,
    "b": 29
  },
  "hsl": {
    "h": 62.892,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52539,
    "c": 0.10327,
    "h": 112.2
  },
  "luminance": 0.14865
}

Semantic roles & 50–950 ramp

primary
#6C701D
secondary
#4944A4
accent
#46E24D
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6C701D

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

Preview Lab → · Contrast checker → · Palette generator →

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