#6D7517#6D7517

#6D7517 is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 53.8% C 0.112 H 114.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#6D7517
RGBrgb(109, 117, 23)
HSLhsl(65, 67%, 27%)
HSVhsv(65, 80%, 46%)
CMYKcmyk(6.8%, 0%, 80.3%, 54.1%)
CIE-LABlab(47.02, -15.20, 46.74)
CIE-LCHlch(47.02, 49.15, 108.02°)
OKLaboklab(53.81% -0.0468 0.1023)
OKLCHoklch(53.81% 0.112 114.6)
XYZxyz(12.8230, 16.0359, 3.2302)
Luminance0.1604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7517 #1F1775
analogous
#754E17 #6D7517 #3E7517
triadic
#6D7517 #176D75 #75176D
tetradic
#6D7517 #17754E #1F1775 #75173E
square
#6D7517 #17754E #1F1775 #75173E
split-complementary
#6D7517 #173E75 #4E1775
monochromatic
#181A05 #3D420D #6D7517 #9DA821 #C8D630

Accessibility & contrast

On white

4.99
#6D7517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#6D7517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7517
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7517#FFFFFF#000000##FFFFFF
##6D75171.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#7E7020
Tritanopia (blue-blind)
#756E64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6d7517;
/* rgb */ color: rgb(109, 117, 23);
/* oklch */ color: oklch(53.8% 0.112 114.6);
Tailwind
colors: {
  custom: {
    50: '#9a9c5d',
    500: '#6d7517',
    950: '#000000',
  },
}
SCSS
$custom: #6d7517;
$custom-light: #9a9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7517",
  "rgb": {
    "r": 109,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 65.106,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.53809,
    "c": 0.11245,
    "h": 114.6
  },
  "luminance": 0.16036
}

Semantic roles & 50–950 ramp

primary
#6D7517
secondary
#473DAA
accent
#3EEA4C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7517

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

Preview Lab → · Contrast checker → · Palette generator →

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