#6C7315#6C7315

#6C7315 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.2% C 0.112 H 114.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#6C7315
RGBrgb(108, 115, 21)
HSLhsl(64, 69%, 27%)
HSVhsv(64, 82%, 45%)
CMYKcmyk(6.1%, 0%, 81.7%, 54.9%)
CIE-LABlab(46.32, -14.67, 46.73)
CIE-LCHlch(46.32, 48.98, 107.43°)
OKLaboklab(53.22% -0.0454 0.1019)
OKLCHoklch(53.22% 0.112 114)
XYZxyz(12.4508, 15.5040, 3.0460)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7315 #1C1573
analogous
#734B15 #6C7315 #3D7315
triadic
#6C7315 #156C73 #73156C
tetradic
#6C7315 #15734B #1C1573 #73153D
square
#6C7315 #15734B #1C1573 #73153D
split-complementary
#6C7315 #153D73 #4B1573
monochromatic
#181A05 #3B3F0C #6C7315 #9DA71E #CBD82A

Accessibility & contrast

On white

5.12
#6C7315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#6C7315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7315
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7315#FFFFFF#000000##FFFFFF
##6C73151.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7C6F1E
Tritanopia (blue-blind)
#746C62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6c7315;
/* rgb */ color: rgb(108, 115, 21);
/* oklch */ color: oklch(53.2% 0.112 114.0);
Tailwind
colors: {
  custom: {
    50: '#999b5c',
    500: '#6c7315',
    950: '#000000',
  },
}
SCSS
$custom: #6c7315;
$custom-light: #999b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7315",
  "rgb": {
    "r": 108,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 64.468,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.53219,
    "c": 0.11155,
    "h": 114
  },
  "luminance": 0.15504
}

Semantic roles & 50–950 ramp

primary
#6C7315
secondary
#433BA9
accent
#3CEC49
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6C7315

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

Preview Lab → · Contrast checker → · Palette generator →

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