#6F7617#6F7617

#6F7617 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.2% C 0.113 H 113.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#6F7617
RGBrgb(111, 118, 23)
HSLhsl(64, 67%, 28%)
HSVhsv(64, 81%, 46%)
CMYKcmyk(5.9%, 0%, 80.5%, 53.7%)
CIE-LABlab(47.49, -14.82, 47.23)
CIE-LCHlch(47.49, 49.50, 107.42°)
OKLaboklab(54.23% -0.0458 0.1032)
OKLCHoklch(54.23% 0.113 113.9)
XYZxyz(13.1890, 16.3985, 3.2809)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7617 #1E1776
analogous
#764D17 #6F7617 #3F7617
triadic
#6F7617 #176F76 #76176F
tetradic
#6F7617 #17764D #1E1776 #76173F
square
#6F7617 #17764D #1E1776 #76173F
split-complementary
#6F7617 #173F76 #4D1776
monochromatic
#181A05 #3F430D #6F7617 #9FA921 #CBD731

Accessibility & contrast

On white

4.91
#6F7617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#6F7617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7617
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7617#FFFFFF#000000##FFFFFF
##6F76171.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#7F7220
Tritanopia (blue-blind)
#776E64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6f7617;
/* rgb */ color: rgb(111, 118, 23);
/* oklch */ color: oklch(54.2% 0.113 113.9);
Tailwind
colors: {
  custom: {
    50: '#9b9d5d',
    500: '#6f7617',
    950: '#000000',
  },
}
SCSS
$custom: #6f7617;
$custom-light: #9b9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7617",
  "rgb": {
    "r": 111,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 64.421,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.54228,
    "c": 0.11295,
    "h": 113.9
  },
  "luminance": 0.16398
}

Semantic roles & 50–950 ramp

primary
#6F7617
secondary
#463EAB
accent
#3EEA4A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #6F7617

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

Preview Lab → · Contrast checker → · Palette generator →

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