#6B701C#6B701C

#6B701C is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.4% C 0.104 H 112.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6B701C
RGBrgb(107, 112, 28)
HSLhsl(64, 60%, 27%)
HSVhsv(64, 75%, 44%)
CMYKcmyk(4.5%, 0%, 75%, 56.1%)
CIE-LABlab(45.36, -13.17, 43.31)
CIE-LCHlch(45.36, 45.27, 106.91°)
OKLaboklab(52.44% -0.0405 0.096)
OKLCHoklch(52.44% 0.104 112.9)
XYZxyz(12.0675, 14.7982, 3.3190)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B701C #211C70
analogous
#704B1C #6B701C #41701C
triadic
#6B701C #1C6B70 #701C6B
tetradic
#6B701C #1C704B #211C70 #701C41
square
#6B701C #1C704B #211C70 #701C41
split-complementary
#6B701C #1C4170 #4B1C70
monochromatic
#171806 #3C3F10 #6B701C #9AA128 #C5CD39

Accessibility & contrast

On white

5.30
#6B701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6B701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B701C
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B701C#FFFFFF#000000##FFFFFF
##6B701C1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A0D
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#736960
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6b701c;
/* rgb */ color: rgb(107, 112, 28);
/* oklch */ color: oklch(52.4% 0.104 112.9);
Tailwind
colors: {
  custom: {
    50: '#98985f',
    500: '#6b701c',
    950: '#000000',
  },
}
SCSS
$custom: #6b701c;
$custom-light: #98985f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b701c",
  "rgb": {
    "r": 107,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 63.571,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52442,
    "c": 0.10423,
    "h": 112.9
  },
  "luminance": 0.14798
}

Semantic roles & 50–950 ramp

primary
#6B701C
secondary
#4943A5
accent
#45E34E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6B701C

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

Preview Lab → · Contrast checker → · Palette generator →

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