#6B7615#6B7615

#6B7615 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 53.9% C 0.115 H 116.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#6B7615
RGBrgb(107, 118, 21)
HSLhsl(67, 70%, 27%)
HSVhsv(67, 82%, 46%)
CMYKcmyk(9.3%, 0%, 82.2%, 53.7%)
CIE-LABlab(47.15, -16.75, 47.45)
CIE-LCHlch(47.15, 50.32, 109.44°)
OKLaboklab(53.87% -0.0511 0.1035)
OKLCHoklch(53.87% 0.115 116.3)
XYZxyz(12.6775, 16.1370, 3.1562)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7615 #201576
analogous
#765115 #6B7615 #3B7615
triadic
#6B7615 #156B76 #76156B
tetradic
#6B7615 #157651 #201576 #76153B
square
#6B7615 #157651 #201576 #76153B
split-complementary
#6B7615 #153B76 #511576
monochromatic
#181A05 #3C420C #6B7615 #9AAA1E #C6D92C

Accessibility & contrast

On white

4.97
#6B7615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#6B7615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7615
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7615#FFFFFF#000000##FFFFFF
##6B76151.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#7E701E
Tritanopia (blue-blind)
#726F64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6b7615;
/* rgb */ color: rgb(107, 118, 21);
/* oklch */ color: oklch(53.9% 0.115 116.3);
Tailwind
colors: {
  custom: {
    50: '#989d5c',
    500: '#6b7615',
    950: '#000000',
  },
}
SCSS
$custom: #6b7615;
$custom-light: #989d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7615",
  "rgb": {
    "r": 107,
    "g": 118,
    "b": 21
  },
  "hsl": {
    "h": 66.804,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.53871,
    "c": 0.11539,
    "h": 116.3
  },
  "luminance": 0.16137
}

Semantic roles & 50–950 ramp

primary
#6B7615
secondary
#483BAC
accent
#3BED4F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6B7615

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

Preview Lab → · Contrast checker → · Palette generator →

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