#6D7417#6D7417

#6D7417 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.6% C 0.111 H 114.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6D7417
RGBrgb(109, 116, 23)
HSLhsl(65, 67%, 27%)
HSVhsv(65, 80%, 45%)
CMYKcmyk(6%, 0%, 80.2%, 54.5%)
CIE-LABlab(46.72, -14.66, 46.47)
CIE-LCHlch(46.72, 48.72, 107.51°)
OKLaboklab(53.56% -0.0453 0.1017)
OKLCHoklch(53.56% 0.111 114)
XYZxyz(12.7071, 15.8041, 3.1916)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7417 #1E1774
analogous
#744D17 #6D7417 #3F7417
triadic
#6D7417 #176D74 #74176D
tetradic
#6D7417 #17744D #1E1774 #74173F
square
#6D7417 #17744D #1E1774 #74173F
split-complementary
#6D7417 #173F74 #4D1774
monochromatic
#181A05 #3D410D #6D7417 #9DA721 #C9D630

Accessibility & contrast

On white

5.05
#6D7417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6D7417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7417
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7417#FFFFFF#000000##FFFFFF
##6D74171.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7D701F
Tritanopia (blue-blind)
#756D63
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6d7417;
/* rgb */ color: rgb(109, 116, 23);
/* oklch */ color: oklch(53.6% 0.111 114.0);
Tailwind
colors: {
  custom: {
    50: '#9a9b5d',
    500: '#6d7417',
    950: '#000000',
  },
}
SCSS
$custom: #6d7417;
$custom-light: #9a9b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7417",
  "rgb": {
    "r": 109,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 64.516,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.53564,
    "c": 0.1113,
    "h": 114
  },
  "luminance": 0.15804
}

Semantic roles & 50–950 ramp

primary
#6D7417
secondary
#453DA9
accent
#3EEA4B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7417

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

Preview Lab → · Contrast checker → · Palette generator →

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