#6B7316#6B7316

#6B7316 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.1% C 0.111 H 114.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6B7316
RGBrgb(107, 115, 22)
HSLhsl(65, 68%, 27%)
HSVhsv(65, 81%, 45%)
CMYKcmyk(7%, 0%, 80.9%, 54.9%)
CIE-LABlab(46.24, -15.09, 46.30)
CIE-LCHlch(46.24, 48.70, 108.06°)
OKLaboklab(53.14% -0.0464 0.1012)
OKLCHoklch(53.14% 0.111 114.6)
XYZxyz(12.3393, 15.4454, 3.0901)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7316 #1E1673
analogous
#734D16 #6B7316 #3D7316
triadic
#6B7316 #166B73 #73166B
tetradic
#6B7316 #16734D #1E1673 #73163D
square
#6B7316 #16734D #1E1673 #73163D
split-complementary
#6B7316 #163D73 #4D1673
monochromatic
#181A05 #3B400C #6B7316 #9BA620 #C8D72D

Accessibility & contrast

On white

5.14
#6B7316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#6B7316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7316
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7316#FFFFFF#000000##FFFFFF
##6B73161.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7B6E1F
Tritanopia (blue-blind)
#736C62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6b7316;
/* rgb */ color: rgb(107, 115, 22);
/* oklch */ color: oklch(53.1% 0.111 114.6);
Tailwind
colors: {
  custom: {
    50: '#989b5c',
    500: '#6b7316',
    950: '#000000',
  },
}
SCSS
$custom: #6b7316;
$custom-light: #989b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7316",
  "rgb": {
    "r": 107,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 65.161,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.53137,
    "c": 0.11136,
    "h": 114.6
  },
  "luminance": 0.15445
}

Semantic roles & 50–950 ramp

primary
#6B7316
secondary
#453CA9
accent
#3DEB4C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6B7316

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

Preview Lab → · Contrast checker → · Palette generator →

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