#6B7515#6B7515

#6B7515 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.6% C 0.114 H 115.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#6B7515
RGBrgb(107, 117, 21)
HSLhsl(66, 70%, 27%)
HSVhsv(66, 82%, 46%)
CMYKcmyk(8.5%, 0%, 82.1%, 54.1%)
CIE-LABlab(46.85, -16.21, 47.17)
CIE-LCHlch(46.85, 49.88, 108.97°)
OKLaboklab(53.62% -0.0496 0.1029)
OKLCHoklch(53.62% 0.114 115.7)
XYZxyz(12.5604, 15.9027, 3.1172)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7515 #1F1575
analogous
#754F15 #6B7515 #3B7515
triadic
#6B7515 #156B75 #75156B
tetradic
#6B7515 #15754F #1F1575 #75153B
square
#6B7515 #15754F #1F1575 #75153B
split-complementary
#6B7515 #153B75 #4F1575
monochromatic
#181A05 #3C410C #6B7515 #9AA91E #C7D92B

Accessibility & contrast

On white

5.02
#6B7515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#6B7515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7515
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7515#FFFFFF#000000##FFFFFF
##6B75151.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#7D701E
Tritanopia (blue-blind)
#726E63
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6b7515;
/* rgb */ color: rgb(107, 117, 21);
/* oklch */ color: oklch(53.6% 0.114 115.7);
Tailwind
colors: {
  custom: {
    50: '#989c5c',
    500: '#6b7515',
    950: '#000000',
  },
}
SCSS
$custom: #6b7515;
$custom-light: #989c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7515",
  "rgb": {
    "r": 107,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 66.25,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.53624,
    "c": 0.11421,
    "h": 115.7
  },
  "luminance": 0.15903
}

Semantic roles & 50–950 ramp

primary
#6B7515
secondary
#473BAB
accent
#3BEC4E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6B7515

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

Preview Lab → · Contrast checker → · Palette generator →

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