#6C6217#6C6217

#6C6217 is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 49.1% C 0.093 H 101.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6C6217
RGBrgb(108, 98, 23)
HSLhsl(53, 65%, 26%)
HSVhsv(53, 79%, 42%)
CMYKcmyk(0%, 9.3%, 78.7%, 57.6%)
CIE-LABlab(41.19, -5.04, 41.31)
CIE-LCHlch(41.19, 41.62, 96.96°)
OKLaboklab(49.13% -0.0183 0.0908)
OKLCHoklch(49.13% 0.093 101.4)
XYZxyz(10.7072, 11.9859, 2.5600)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6217 #17216C
analogous
#6C3717 #6C6217 #4B6C17
triadic
#6C6217 #176C62 #62176C
tetradic
#6C6217 #176C37 #17216C #6C174B
square
#6C6217 #176C37 #17216C #6C174B
split-complementary
#6C6217 #174B6C #37176C
monochromatic
#191705 #3A340C #6C6217 #9E9022 #D1BE2C

Accessibility & contrast

On white

6.18
#6C6217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6C6217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C6217
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C6217#FFFFFF#000000##FFFFFF
##6C62171.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F08
Deuteranopia (green-blind)
#6F631C
Tritanopia (blue-blind)
#755A54
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6c6217;
/* rgb */ color: rgb(108, 98, 23);
/* oklch */ color: oklch(49.1% 0.093 101.4);
Tailwind
colors: {
  custom: {
    50: '#998e5a',
    500: '#6c6217',
    950: '#000000',
  },
}
SCSS
$custom: #6c6217;
$custom-light: #998e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6217",
  "rgb": {
    "r": 108,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 52.941,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49133,
    "c": 0.0926,
    "h": 101.4
  },
  "luminance": 0.11985
}

Semantic roles & 50–950 ramp

primary
#6C6217
secondary
#3D49A2
accent
#54E840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6C6217

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

Preview Lab → · Contrast checker → · Palette generator →

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