#6C701B#6C701B

#6C701B 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#6C701B
RGBrgb(108, 112, 27)
HSLhsl(63, 61%, 27%)
HSVhsv(63, 76%, 44%)
CMYKcmyk(3.6%, 0%, 75.9%, 56.1%)
CIE-LABlab(45.44, -12.75, 43.80)
CIE-LCHlch(45.44, 45.62, 106.23°)
OKLaboklab(52.53% -0.0395 0.0969)
OKLCHoklch(52.53% 0.105 112.2)
XYZxyz(12.1767, 14.8559, 3.2627)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C701B #1F1B70
analogous
#704A1B #6C701B #41701B
triadic
#6C701B #1B6C70 #701B6C
tetradic
#6C701B #1B704A #1F1B70 #701B41
square
#6C701B #1B704A #1F1B70 #701B41
split-complementary
#6C701B #1B4170 #4A1B70
monochromatic
#181906 #3C3F0F #6C701B #9CA127 #C8CF37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C701B#FFFFFF#000000##FFFFFF
##6C701B1.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)
#796B0A
Deuteranopia (green-blind)
#796D22
Tritanopia (blue-blind)
#746960
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6c701b;
/* rgb */ color: rgb(108, 112, 27);
/* oklch */ color: oklch(52.5% 0.105 112.2);
Tailwind
colors: {
  custom: {
    50: '#99985e',
    500: '#6c701b',
    950: '#000000',
  },
}
SCSS
$custom: #6c701b;
$custom-light: #99985e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c701b",
  "rgb": {
    "r": 108,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 62.824,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52525,
    "c": 0.10461,
    "h": 112.2
  },
  "luminance": 0.14856
}

Semantic roles & 50–950 ramp

primary
#6C701B
secondary
#4742A5
accent
#44E44B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6C701B

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

Preview Lab → · Contrast checker → · Palette generator →

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