#6C701A#6C701A

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

Color values

HEX#6C701A
RGBrgb(108, 112, 26)
HSLhsl(63, 62%, 27%)
HSVhsv(63, 77%, 44%)
CMYKcmyk(3.6%, 0%, 76.8%, 56.1%)
CIE-LABlab(45.43, -12.80, 44.18)
CIE-LCHlch(45.43, 45.99, 106.16°)
OKLaboklab(52.52% -0.0398 0.0974)
OKLCHoklch(52.52% 0.105 112.2)
XYZxyz(12.1654, 14.8514, 3.2028)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C701A #1E1A70
analogous
#70491A #6C701A #41701A
triadic
#6C701A #1A6C70 #701A6C
tetradic
#6C701A #1A7049 #1E1A70 #701A41
square
#6C701A #1A7049 #1E1A70 #701A41
split-complementary
#6C701A #1A4170 #491A70
monochromatic
#181906 #3C3E0E #6C701A #9CA226 #C9D034

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C701A#FFFFFF#000000##FFFFFF
##6C701A1.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)
#796B08
Deuteranopia (green-blind)
#796D21
Tritanopia (blue-blind)
#746960
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6c701a;
/* rgb */ color: rgb(108, 112, 26);
/* oklch */ color: oklch(52.5% 0.105 112.2);
Tailwind
colors: {
  custom: {
    50: '#99985e',
    500: '#6c701a',
    950: '#000000',
  },
}
SCSS
$custom: #6c701a;
$custom-light: #99985e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c701a",
  "rgb": {
    "r": 108,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 62.791,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.52518,
    "c": 0.10524,
    "h": 112.2
  },
  "luminance": 0.14851
}

Semantic roles & 50–950 ramp

primary
#6C701A
secondary
#4541A5
accent
#42E54A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6C701A

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

Preview Lab → · Contrast checker → · Palette generator →

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