#6C701F#6C701F

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

Color values

HEX#6C701F
RGBrgb(108, 112, 31)
HSLhsl(63, 57%, 28%)
HSVhsv(63, 72%, 44%)
CMYKcmyk(3.6%, 0%, 72.3%, 56.1%)
CIE-LABlab(45.46, -12.53, 42.24)
CIE-LCHlch(45.46, 44.06, 106.52°)
OKLaboklab(52.55% -0.0385 0.0943)
OKLCHoklch(52.55% 0.102 112.2)
XYZxyz(12.2262, 14.8757, 3.5233)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C701F #231F70
analogous
#704B1F #6C701F #43701F
triadic
#6C701F #1F6C70 #701F6C
tetradic
#6C701F #1F704B #231F70 #701F43
square
#6C701F #1F704B #231F70 #701F43
split-complementary
#6C701F #1F4370 #4B1F70
monochromatic
#171807 #3E4012 #6C701F #9AA02C #C3CA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C701F#FFFFFF#000000##FFFFFF
##6C701F1.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)
#796B12
Deuteranopia (green-blind)
#796D25
Tritanopia (blue-blind)
#746960
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6c701f;
/* rgb */ color: rgb(108, 112, 31);
/* oklch */ color: oklch(52.6% 0.102 112.2);
Tailwind
colors: {
  custom: {
    50: '#999860',
    500: '#6c701f',
    950: '#000000',
  },
}
SCSS
$custom: #6c701f;
$custom-light: #999860;
$custom-dark: #000000;
JSON
{
  "hex": "#6c701f",
  "rgb": {
    "r": 108,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 62.963,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52555,
    "c": 0.10185,
    "h": 112.2
  },
  "luminance": 0.14875
}

Semantic roles & 50–950 ramp

primary
#6C701F
secondary
#4B47A4
accent
#48E04F
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6C701F

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

Preview Lab → · Contrast checker → · Palette generator →

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