#6B7417#6B7417

#6B7417 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.4% C 0.112 H 115.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6B7417
RGBrgb(107, 116, 23)
HSLhsl(66, 67%, 27%)
HSVhsv(66, 80%, 45%)
CMYKcmyk(7.8%, 0%, 80.2%, 54.5%)
CIE-LABlab(46.55, -15.59, 46.25)
CIE-LCHlch(46.55, 48.81, 108.63°)
OKLaboklab(53.39% -0.0477 0.1013)
OKLCHoklch(53.39% 0.112 115.2)
XYZxyz(12.4638, 15.6787, 3.1802)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7417 #201774
analogous
#744E17 #6B7417 #3D7417
triadic
#6B7417 #176B74 #74176B
tetradic
#6B7417 #17744E #201774 #74173D
square
#6B7417 #17744E #201774 #74173D
split-complementary
#6B7417 #173D74 #4E1774
monochromatic
#181A05 #3C410D #6B7417 #9AA721 #C6D630

Accessibility & contrast

On white

5.08
#6B7417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6B7417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7417
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7417#FFFFFF#000000##FFFFFF
##6B74171.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7C6F1F
Tritanopia (blue-blind)
#726D63
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6b7417;
/* rgb */ color: rgb(107, 116, 23);
/* oklch */ color: oklch(53.4% 0.112 115.2);
Tailwind
colors: {
  custom: {
    50: '#989b5d',
    500: '#6b7417',
    950: '#000000',
  },
}
SCSS
$custom: #6b7417;
$custom-light: #989b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7417",
  "rgb": {
    "r": 107,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 65.806,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.53389,
    "c": 0.11197,
    "h": 115.2
  },
  "luminance": 0.15678
}

Semantic roles & 50–950 ramp

primary
#6B7417
secondary
#483DA9
accent
#3EEA4F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B7417

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

Preview Lab → · Contrast checker → · Palette generator →

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