#6C5915#6C5915

#6C5915 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 47.0% C 0.087 H 92.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#6C5915
RGBrgb(108, 89, 21)
HSLhsl(47, 67%, 25%)
HSVhsv(47, 81%, 42%)
CMYKcmyk(0%, 17.6%, 80.6%, 57.6%)
CIE-LABlab(38.53, 0.15, 39.60)
CIE-LCHlch(38.53, 39.60, 89.78°)
OKLaboklab(47.02% -0.0038 0.0867)
OKLCHoklch(47.02% 0.087 92.5)
XYZxyz(9.8926, 10.3876, 2.1933)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5915 #15286C
analogous
#6C2E15 #6C5915 #536C15
triadic
#6C5915 #156C59 #59156C
tetradic
#6C5915 #156C2E #15286C #6C1553
square
#6C5915 #156C2E #15286C #6C1553
split-complementary
#6C5915 #15536C #2E156C
monochromatic
#1A1505 #392F0B #6C5915 #9F831F #D2AD29

Accessibility & contrast

On white

6.82
#6C5915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6C5915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5915
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5915#FFFFFF#000000##FFFFFF
##6C59151.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645808
Deuteranopia (green-blind)
#685D19
Tritanopia (blue-blind)
#75514C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6c5915;
/* rgb */ color: rgb(108, 89, 21);
/* oklch */ color: oklch(47.0% 0.087 92.5);
Tailwind
colors: {
  custom: {
    50: '#998758',
    500: '#6c5915',
    950: '#000000',
  },
}
SCSS
$custom: #6c5915;
$custom-light: #998758;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5915",
  "rgb": {
    "r": 108,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 46.897,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47019,
    "c": 0.08676,
    "h": 92.5
  },
  "luminance": 0.10387
}

Semantic roles & 50–950 ramp

primary
#6C5915
secondary
#3A51A3
accent
#63EA3D
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #6C5915

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

Preview Lab → · Contrast checker → · Palette generator →

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