#6C6315#6C6315

#6C6315 is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.4% C 0.095 H 102.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6C6315
RGBrgb(108, 99, 21)
HSLhsl(54, 67%, 25%)
HSVhsv(54, 81%, 42%)
CMYKcmyk(0%, 8.3%, 80.6%, 57.6%)
CIE-LABlab(41.48, -5.71, 42.34)
CIE-LCHlch(41.48, 42.72, 97.69°)
OKLaboklab(49.36% -0.0204 0.0925)
OKLCHoklch(49.36% 0.095 102.4)
XYZxyz(10.7820, 12.1664, 2.4897)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6315 #151E6C
analogous
#6C3715 #6C6315 #496C15
triadic
#6C6315 #156C63 #63156C
tetradic
#6C6315 #156C37 #151E6C #6C1549
square
#6C6315 #156C37 #151E6C #6C1549
split-complementary
#6C6315 #15496C #37156C
monochromatic
#1A1705 #39340B #6C6315 #9F921F #D2C129

Accessibility & contrast

On white

6.12
#6C6315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6C6315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C6315
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C6315#FFFFFF#000000##FFFFFF
##6C63151.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6004
Deuteranopia (green-blind)
#70641B
Tritanopia (blue-blind)
#755B54
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6c6315;
/* rgb */ color: rgb(108, 99, 21);
/* oklch */ color: oklch(49.4% 0.095 102.4);
Tailwind
colors: {
  custom: {
    50: '#998f5a',
    500: '#6c6315',
    950: '#000000',
  },
}
SCSS
$custom: #6c6315;
$custom-light: #998f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6315",
  "rgb": {
    "r": 108,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 53.793,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49356,
    "c": 0.09475,
    "h": 102.4
  },
  "luminance": 0.12166
}

Semantic roles & 50–950 ramp

primary
#6C6315
secondary
#3A45A3
accent
#4FEA3D
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6C6315

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

Preview Lab → · Contrast checker → · Palette generator →

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