#6F6817#6F6817

#6F6817 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.9% C 0.098 H 104.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6F6817
RGBrgb(111, 104, 23)
HSLhsl(55, 66%, 26%)
HSVhsv(55, 79%, 44%)
CMYKcmyk(0%, 6.3%, 79.3%, 56.5%)
CIE-LABlab(43.27, -7.05, 43.37)
CIE-LCHlch(43.27, 43.93, 99.23°)
OKLaboklab(50.86% -0.0241 0.095)
OKLCHoklch(50.86% 0.098 104.3)
XYZxyz(11.6610, 13.3425, 2.7716)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6817 #171E6F
analogous
#6F3C17 #6F6817 #4A6F17
triadic
#6F6817 #176F68 #68176F
tetradic
#6F6817 #176F3C #171E6F #6F174A
square
#6F6817 #176F3C #171E6F #6F174A
split-complementary
#6F6817 #174A6F #3C176F
monochromatic
#191805 #3C390C #6F6817 #A29822 #D3C62D

Accessibility & contrast

On white

5.72
#6F6817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6F6817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F6817
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F6817#FFFFFF#000000##FFFFFF
##6F68171.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726406
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#786059
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6f6817;
/* rgb */ color: rgb(111, 104, 23);
/* oklch */ color: oklch(50.9% 0.098 104.3);
Tailwind
colors: {
  custom: {
    50: '#9b925b',
    500: '#6f6817',
    950: '#000000',
  },
}
SCSS
$custom: #6f6817;
$custom-light: #9b925b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6817",
  "rgb": {
    "r": 111,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 55.227,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50858,
    "c": 0.09802,
    "h": 104.3
  },
  "luminance": 0.13342
}

Semantic roles & 50–950 ramp

primary
#6F6817
secondary
#3D45A5
accent
#4DE93F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0F0D04
muted
#7E7D79

Preview Lab

Preview with #6F6817

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

Preview Lab → · Contrast checker → · Palette generator →

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