#6B7013#6B7013

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

Color values

HEX#6B7013
RGBrgb(107, 112, 19)
HSLhsl(63, 71%, 26%)
HSVhsv(63, 83%, 44%)
CMYKcmyk(4.5%, 0%, 83%, 56.1%)
CIE-LABlab(45.31, -13.59, 46.43)
CIE-LCHlch(45.31, 48.37, 106.31°)
OKLaboklab(52.39% -0.0425 0.1009)
OKLCHoklch(52.39% 0.109 112.8)
XYZxyz(11.9755, 14.7614, 2.8344)
Luminance0.1476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7013 #181370
analogous
#704613 #6B7013 #3C7013
triadic
#6B7013 #136B70 #70136B
tetradic
#6B7013 #137046 #181370 #70133C
square
#6B7013 #137046 #181370 #70133C
split-complementary
#6B7013 #133C70 #461370
monochromatic
#191A04 #393C0A #6B7013 #9DA41C #CFD925

Accessibility & contrast

On white

5.31
#6B7013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6B7013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7013
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7013#FFFFFF#000000##FFFFFF
##6B70131.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#796C1C
Tritanopia (blue-blind)
#73695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6b7013;
/* rgb */ color: rgb(107, 112, 19);
/* oklch */ color: oklch(52.4% 0.109 112.8);
Tailwind
colors: {
  custom: {
    50: '#99985b',
    500: '#6b7013',
    950: '#000000',
  },
}
SCSS
$custom: #6b7013;
$custom-light: #99985b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7013",
  "rgb": {
    "r": 107,
    "g": 112,
    "b": 19
  },
  "hsl": {
    "h": 63.226,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.52385,
    "c": 0.10949,
    "h": 112.8
  },
  "luminance": 0.14761
}

Semantic roles & 50–950 ramp

primary
#6B7013
secondary
#3E38A7
accent
#3AEE44
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6B7013

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

Preview Lab → · Contrast checker → · Palette generator →

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