#6B701F#6B701F

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

Color values

HEX#6B701F
RGBrgb(107, 112, 31)
HSLhsl(64, 57%, 28%)
HSVhsv(64, 72%, 44%)
CMYKcmyk(4.5%, 0%, 72.3%, 56.1%)
CIE-LABlab(45.38, -12.99, 42.13)
CIE-LCHlch(45.38, 44.08, 107.14°)
OKLaboklab(52.47% -0.0397 0.0941)
OKLCHoklch(52.47% 0.102 112.9)
XYZxyz(12.1053, 14.8133, 3.5176)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B701F #241F70
analogous
#704C1F #6B701F #42701F
triadic
#6B701F #1F6B70 #701F6B
tetradic
#6B701F #1F704C #241F70 #701F42
square
#6B701F #1F704C #241F70 #701F42
split-complementary
#6B701F #1F4270 #4C1F70
monochromatic
#171807 #3D4012 #6B701F #99A02C #C1CA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B701F#FFFFFF#000000##FFFFFF
##6B701F1.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)
#796B12
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#726960
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6b701f;
/* rgb */ color: rgb(107, 112, 31);
/* oklch */ color: oklch(52.5% 0.102 112.9);
Tailwind
colors: {
  custom: {
    50: '#989860',
    500: '#6b701f',
    950: '#000000',
  },
}
SCSS
$custom: #6b701f;
$custom-light: #989860;
$custom-dark: #000000;
JSON
{
  "hex": "#6b701f",
  "rgb": {
    "r": 107,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 63.704,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52465,
    "c": 0.10213,
    "h": 112.9
  },
  "luminance": 0.14813
}

Semantic roles & 50–950 ramp

primary
#6B701F
secondary
#4D47A4
accent
#48E051
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6B701F

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

Preview Lab → · Contrast checker → · Palette generator →

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