#6B7415#6B7415

#6B7415 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.4% C 0.113 H 115.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6B7415
RGBrgb(107, 116, 21)
HSLhsl(66, 69%, 27%)
HSVhsv(66, 82%, 45%)
CMYKcmyk(7.8%, 0%, 81.9%, 54.5%)
CIE-LABlab(46.54, -15.68, 46.90)
CIE-LCHlch(46.54, 49.45, 108.48°)
OKLaboklab(53.38% -0.0481 0.1023)
OKLCHoklch(53.38% 0.113 115.2)
XYZxyz(12.4445, 15.6709, 3.0786)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7415 #1E1574
analogous
#744E15 #6B7415 #3C7415
triadic
#6B7415 #156B74 #74156B
tetradic
#6B7415 #15744E #1E1574 #74153C
square
#6B7415 #15744E #1E1574 #74153C
split-complementary
#6B7415 #153C74 #4E1574
monochromatic
#181A05 #3B400C #6B7415 #9BA81E #C8D92B

Accessibility & contrast

On white

5.08
#6B7415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#6B7415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7415
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7415#FFFFFF#000000##FFFFFF
##6B74151.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7C6F1E
Tritanopia (blue-blind)
#736D63
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6b7415;
/* rgb */ color: rgb(107, 116, 21);
/* oklch */ color: oklch(53.4% 0.113 115.2);
Tailwind
colors: {
  custom: {
    50: '#989b5c',
    500: '#6b7415',
    950: '#000000',
  },
}
SCSS
$custom: #6b7415;
$custom-light: #989b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7415",
  "rgb": {
    "r": 107,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 65.684,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.53378,
    "c": 0.11304,
    "h": 115.2
  },
  "luminance": 0.15671
}

Semantic roles & 50–950 ramp

primary
#6B7415
secondary
#453BAA
accent
#3CEC4C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6B7415

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

Preview Lab → · Contrast checker → · Palette generator →

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