#6B701B#6B701B

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

Color values

HEX#6B701B
RGBrgb(107, 112, 27)
HSLhsl(64, 61%, 27%)
HSVhsv(64, 76%, 44%)
CMYKcmyk(4.5%, 0%, 75.9%, 56.1%)
CIE-LABlab(45.35, -13.22, 43.69)
CIE-LCHlch(45.35, 45.65, 106.83°)
OKLaboklab(52.43% -0.0408 0.0967)
OKLCHoklch(52.43% 0.105 112.9)
XYZxyz(12.0558, 14.7935, 3.2571)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B701B #201B70
analogous
#704A1B #6B701B #41701B
triadic
#6B701B #1B6B70 #701B6B
tetradic
#6B701B #1B704A #201B70 #701B41
square
#6B701B #1B704A #201B70 #701B41
split-complementary
#6B701B #1B4170 #4A1B70
monochromatic
#181906 #3C3F0F #6B701B #9AA127 #C6CF37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B701B#FFFFFF#000000##FFFFFF
##6B701B1.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)
#796A0A
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#736960
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6b701b;
/* rgb */ color: rgb(107, 112, 27);
/* oklch */ color: oklch(52.4% 0.105 112.9);
Tailwind
colors: {
  custom: {
    50: '#98985e',
    500: '#6b701b',
    950: '#000000',
  },
}
SCSS
$custom: #6b701b;
$custom-light: #98985e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b701b",
  "rgb": {
    "r": 107,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 63.529,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52434,
    "c": 0.1049,
    "h": 112.9
  },
  "luminance": 0.14793
}

Semantic roles & 50–950 ramp

primary
#6B701B
secondary
#4842A5
accent
#44E44D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6B701B

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

Preview Lab → · Contrast checker → · Palette generator →

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