#6B7315#6B7315

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

Color values

HEX#6B7315
RGBrgb(107, 115, 21)
HSLhsl(65, 69%, 27%)
HSVhsv(65, 82%, 45%)
CMYKcmyk(7%, 0%, 81.7%, 54.9%)
CIE-LABlab(46.23, -15.14, 46.62)
CIE-LCHlch(46.23, 49.02, 107.99°)
OKLaboklab(53.13% -0.0466 0.1017)
OKLCHoklch(53.13% 0.112 114.6)
XYZxyz(12.3299, 15.4416, 3.0403)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7315 #1D1573
analogous
#734C15 #6B7315 #3C7315
triadic
#6B7315 #156B73 #73156B
tetradic
#6B7315 #15734C #1D1573 #73153C
square
#6B7315 #15734C #1D1573 #73153C
split-complementary
#6B7315 #153C73 #4C1573
monochromatic
#181A05 #3B3F0C #6B7315 #9BA71E #C9D82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B7315#FFFFFF#000000##FFFFFF
##6B73151.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)
#7C6E1E
Tritanopia (blue-blind)
#736C62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6b7315;
/* rgb */ color: rgb(107, 115, 21);
/* oklch */ color: oklch(53.1% 0.112 114.6);
Tailwind
colors: {
  custom: {
    50: '#989b5c',
    500: '#6b7315',
    950: '#000000',
  },
}
SCSS
$custom: #6b7315;
$custom-light: #989b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7315",
  "rgb": {
    "r": 107,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 65.106,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.53132,
    "c": 0.11189,
    "h": 114.6
  },
  "luminance": 0.15441
}

Semantic roles & 50–950 ramp

primary
#6B7315
secondary
#443BA9
accent
#3CEC4B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6B7315

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

Preview Lab → · Contrast checker → · Palette generator →

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