#6C6815#6C6815

#6C6815 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.5% C 0.100 H 106.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6C6815
RGBrgb(108, 104, 21)
HSLhsl(57, 67%, 25%)
HSVhsv(57, 81%, 42%)
CMYKcmyk(0%, 3.7%, 80.6%, 57.6%)
CIE-LABlab(42.98, -8.57, 43.71)
CIE-LCHlch(42.98, 44.54, 101.10°)
OKLaboklab(50.55% -0.0284 0.0954)
OKLCHoklch(50.55% 0.1 106.6)
XYZxyz(11.2705, 13.1433, 2.6526)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6815 #15196C
analogous
#6C3C15 #6C6815 #456C15
triadic
#6C6815 #156C68 #68156C
tetradic
#6C6815 #156C3C #15196C #6C1545
square
#6C6815 #156C3C #15196C #6C1545
split-complementary
#6C6815 #15456C #3C156C
monochromatic
#1A1905 #39370B #6C6815 #9F991F #D2CB29

Accessibility & contrast

On white

5.79
#6C6815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6C6815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C6815
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C6815#FFFFFF#000000##FFFFFF
##6C68151.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726402
Deuteranopia (green-blind)
#73671C
Tritanopia (blue-blind)
#756058
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6c6815;
/* rgb */ color: rgb(108, 104, 21);
/* oklch */ color: oklch(50.5% 0.100 106.6);
Tailwind
colors: {
  custom: {
    50: '#99925a',
    500: '#6c6815',
    950: '#000000',
  },
}
SCSS
$custom: #6c6815;
$custom-light: #99925a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6815",
  "rgb": {
    "r": 108,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 57.241,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.5055,
    "c": 0.0996,
    "h": 106.6
  },
  "luminance": 0.13143
}

Semantic roles & 50–950 ramp

primary
#6C6815
secondary
#3A3FA3
accent
#45EA3D
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6C6815

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

Preview Lab → · Contrast checker → · Palette generator →

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