#6C7117#6C7117

#6C7117 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 52.7% C 0.108 H 112.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6C7117
RGBrgb(108, 113, 23)
HSLhsl(63, 66%, 27%)
HSVhsv(63, 80%, 44%)
CMYKcmyk(4.4%, 0%, 79.6%, 55.7%)
CIE-LABlab(45.72, -13.50, 45.52)
CIE-LCHlch(45.72, 47.48, 106.51°)
OKLaboklab(52.74% -0.042 0.0997)
OKLCHoklch(52.74% 0.108 112.8)
XYZxyz(12.2445, 15.0605, 3.0724)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7117 #1C1771
analogous
#714917 #6C7117 #3F7117
triadic
#6C7117 #176C71 #71176C
tetradic
#6C7117 #177149 #1C1771 #71173F
square
#6C7117 #177149 #1C1771 #71173F
split-complementary
#6C7117 #173F71 #491771
monochromatic
#181905 #3B3E0D #6C7117 #9DA421 #CBD42E

Accessibility & contrast

On white

5.23
#6C7117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#6C7117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7117
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7117#FFFFFF#000000##FFFFFF
##6C71171.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B02
Deuteranopia (green-blind)
#7A6D1F
Tritanopia (blue-blind)
#746A60
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6c7117;
/* rgb */ color: rgb(108, 113, 23);
/* oklch */ color: oklch(52.7% 0.108 112.8);
Tailwind
colors: {
  custom: {
    50: '#99995d',
    500: '#6c7117',
    950: '#000000',
  },
}
SCSS
$custom: #6c7117;
$custom-light: #99995d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7117",
  "rgb": {
    "r": 108,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 63.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52742,
    "c": 0.10819,
    "h": 112.8
  },
  "luminance": 0.1506
}

Semantic roles & 50–950 ramp

primary
#6C7117
secondary
#433DA7
accent
#3FE948
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6C7117

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

Preview Lab → · Contrast checker → · Palette generator →

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