#6D7117#6D7117

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

Color values

HEX#6D7117
RGBrgb(109, 113, 23)
HSLhsl(63, 66%, 27%)
HSVhsv(63, 80%, 44%)
CMYKcmyk(3.5%, 0%, 79.6%, 55.7%)
CIE-LABlab(45.80, -13.03, 45.63)
CIE-LCHlch(45.80, 47.45, 105.94°)
OKLaboklab(52.83% -0.0407 0.0999)
OKLCHoklch(52.83% 0.108 112.2)
XYZxyz(12.3669, 15.1236, 3.0781)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7117 #1B1771
analogous
#714817 #6D7117 #407117
triadic
#6D7117 #176D71 #71176D
tetradic
#6D7117 #177148 #1B1771 #711740
square
#6D7117 #177148 #1B1771 #711740
split-complementary
#6D7117 #174071 #481771
monochromatic
#191905 #3C3E0D #6D7117 #9EA421 #CDD42E

Accessibility & contrast

On white

5.22
#6D7117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6D7117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7117
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7117#FFFFFF#000000##FFFFFF
##6D71171.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d7117;
/* rgb */ color: rgb(109, 113, 23);
/* oklch */ color: oklch(52.8% 0.108 112.2);
Tailwind
colors: {
  custom: {
    50: '#9a995d',
    500: '#6d7117',
    950: '#000000',
  },
}
SCSS
$custom: #6d7117;
$custom-light: #9a995d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7117",
  "rgb": {
    "r": 109,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 62.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52832,
    "c": 0.10788,
    "h": 112.2
  },
  "luminance": 0.15123
}

Semantic roles & 50–950 ramp

primary
#6D7117
secondary
#423DA7
accent
#3FE946
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6D7117

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

Preview Lab → · Contrast checker → · Palette generator →

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