#6F6717#6F6717

#6F6717 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.6% C 0.097 H 103.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6F6717
RGBrgb(111, 103, 23)
HSLhsl(55, 66%, 26%)
HSVhsv(55, 79%, 44%)
CMYKcmyk(0%, 7.2%, 79.3%, 56.5%)
CIE-LABlab(42.98, -6.48, 43.09)
CIE-LCHlch(42.98, 43.57, 98.55°)
OKLaboklab(50.62% -0.0225 0.0944)
OKLCHoklch(50.62% 0.097 103.4)
XYZxyz(11.5610, 13.1424, 2.7382)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6717 #171F6F
analogous
#6F3B17 #6F6717 #4B6F17
triadic
#6F6717 #176F67 #67176F
tetradic
#6F6717 #176F3B #171F6F #6F174B
square
#6F6717 #176F3B #171F6F #6F174B
split-complementary
#6F6717 #174B6F #3B176F
monochromatic
#191805 #3C380C #6F6717 #A29622 #D3C42D

Accessibility & contrast

On white

5.79
#6F6717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6F6717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F6717
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F6717#FFFFFF#000000##FFFFFF
##6F67171.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716306
Deuteranopia (green-blind)
#74671D
Tritanopia (blue-blind)
#785F58
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6f6717;
/* rgb */ color: rgb(111, 103, 23);
/* oklch */ color: oklch(50.6% 0.097 103.4);
Tailwind
colors: {
  custom: {
    50: '#9b925b',
    500: '#6f6717',
    950: '#000000',
  },
}
SCSS
$custom: #6f6717;
$custom-light: #9b925b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6717",
  "rgb": {
    "r": 111,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 54.545,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50621,
    "c": 0.09706,
    "h": 103.4
  },
  "luminance": 0.13142
}

Semantic roles & 50–950 ramp

primary
#6F6717
secondary
#3D46A5
accent
#4FE93F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0F0C04
muted
#7E7D79

Preview Lab

Preview with #6F6717

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

Preview Lab → · Contrast checker → · Palette generator →

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