#6C7515#6C7515

#6C7515 is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 53.7% C 0.114 H 115.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6C7515
RGBrgb(108, 117, 21)
HSLhsl(66, 70%, 27%)
HSVhsv(66, 82%, 46%)
CMYKcmyk(7.7%, 0%, 82.1%, 54.1%)
CIE-LABlab(46.93, -15.75, 47.28)
CIE-LCHlch(46.93, 49.83, 108.43°)
OKLaboklab(53.71% -0.0484 0.1031)
OKLCHoklch(53.71% 0.114 115.2)
XYZxyz(12.6814, 15.9651, 3.1229)
Luminance0.1596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7515 #1E1575
analogous
#754E15 #6C7515 #3C7515
triadic
#6C7515 #156C75 #75156C
tetradic
#6C7515 #15754E #1E1575 #75153C
square
#6C7515 #15754E #1E1575 #75153C
split-complementary
#6C7515 #153C75 #4E1575
monochromatic
#181A05 #3C410C #6C7515 #9CA91E #C9D92B

Accessibility & contrast

On white

5.01
#6C7515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#6C7515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7515
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7515#FFFFFF#000000##FFFFFF
##6C75151.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c7515;
/* rgb */ color: rgb(108, 117, 21);
/* oklch */ color: oklch(53.7% 0.114 115.2);
Tailwind
colors: {
  custom: {
    50: '#999c5c',
    500: '#6c7515',
    950: '#000000',
  },
}
SCSS
$custom: #6c7515;
$custom-light: #999c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7515",
  "rgb": {
    "r": 108,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 65.625,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.5371,
    "c": 0.11385,
    "h": 115.2
  },
  "luminance": 0.15965
}

Semantic roles & 50–950 ramp

primary
#6C7515
secondary
#453BAB
accent
#3BEC4C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6C7515

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

Preview Lab → · Contrast checker → · Palette generator →

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