#6F7517#6F7517

#6F7517 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.0% C 0.112 H 113.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#6F7517
RGBrgb(111, 117, 23)
HSLhsl(64, 67%, 27%)
HSVhsv(64, 80%, 46%)
CMYKcmyk(5.1%, 0%, 80.3%, 54.1%)
CIE-LABlab(47.19, -14.28, 46.96)
CIE-LCHlch(47.19, 49.08, 106.91°)
OKLaboklab(53.98% -0.0443 0.1027)
OKLCHoklch(53.98% 0.112 113.3)
XYZxyz(13.0719, 16.1642, 3.2419)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7517 #1D1775
analogous
#754C17 #6F7517 #407517
triadic
#6F7517 #176F75 #75176F
tetradic
#6F7517 #17754C #1D1775 #751740
square
#6F7517 #17754C #1D1775 #751740
split-complementary
#6F7517 #174075 #4C1775
monochromatic
#181A05 #3E420D #6F7517 #A0A821 #CCD630

Accessibility & contrast

On white

4.96
#6F7517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#6F7517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7517
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7517#FFFFFF#000000##FFFFFF
##6F75171.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#7E711F
Tritanopia (blue-blind)
#776D64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6f7517;
/* rgb */ color: rgb(111, 117, 23);
/* oklch */ color: oklch(54.0% 0.112 113.3);
Tailwind
colors: {
  custom: {
    50: '#9b9c5d',
    500: '#6f7517',
    950: '#000000',
  },
}
SCSS
$custom: #6f7517;
$custom-light: #9b9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7517",
  "rgb": {
    "r": 111,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 63.83,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.53984,
    "c": 0.11181,
    "h": 113.3
  },
  "luminance": 0.16164
}

Semantic roles & 50–950 ramp

primary
#6F7517
secondary
#443DAA
accent
#3EEA49
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #6F7517

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

Preview Lab → · Contrast checker → · Palette generator →

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