#6C7017#6C7017

#6C7017 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.5% C 0.107 H 112.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6C7017
RGBrgb(108, 112, 23)
HSLhsl(63, 66%, 26%)
HSVhsv(63, 79%, 44%)
CMYKcmyk(3.6%, 0%, 79.5%, 56.1%)
CIE-LABlab(45.41, -12.95, 45.24)
CIE-LCHlch(45.41, 47.06, 105.97°)
OKLaboklab(52.5% -0.0404 0.0991)
OKLCHoklch(52.5% 0.107 112.2)
XYZxyz(12.1336, 14.8386, 3.0354)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7017 #1B1770
analogous
#704817 #6C7017 #407017
triadic
#6C7017 #176C70 #70176C
tetradic
#6C7017 #177048 #1B1770 #701740
square
#6C7017 #177048 #1B1770 #701740
split-complementary
#6C7017 #174070 #481770
monochromatic
#181905 #3B3D0D #6C7017 #9DA321 #CCD42D

Accessibility & contrast

On white

5.29
#6C7017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6C7017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7017
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7017#FFFFFF#000000##FFFFFF
##6C70171.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A02
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#74695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6c7017;
/* rgb */ color: rgb(108, 112, 23);
/* oklch */ color: oklch(52.5% 0.107 112.2);
Tailwind
colors: {
  custom: {
    50: '#99985c',
    500: '#6c7017',
    950: '#000000',
  },
}
SCSS
$custom: #6c7017;
$custom-light: #99985c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7017",
  "rgb": {
    "r": 108,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 62.697,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.52498,
    "c": 0.10705,
    "h": 112.2
  },
  "luminance": 0.14838
}

Semantic roles & 50–950 ramp

primary
#6C7017
secondary
#423DA6
accent
#3FE947
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6C7017

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

Preview Lab → · Contrast checker → · Palette generator →

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