#6F6D17#6F6D17

#6F6D17 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.1% C 0.103 H 108.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6F6D17
RGBrgb(111, 109, 23)
HSLhsl(59, 66%, 26%)
HSVhsv(59, 79%, 44%)
CMYKcmyk(0%, 1.8%, 79.3%, 56.5%)
CIE-LABlab(44.77, -9.87, 44.75)
CIE-LCHlch(44.77, 45.82, 102.44°)
OKLaboklab(52.05% -0.032 0.0979)
OKLCHoklch(52.05% 0.103 108.1)
XYZxyz(12.1793, 14.3791, 2.9443)
Luminance0.1438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6D17 #17196F
analogous
#6F4117 #6F6D17 #456F17
triadic
#6F6D17 #176F6D #6D176F
tetradic
#6F6D17 #176F41 #17196F #6F1745
square
#6F6D17 #176F41 #17196F #6F1745
split-complementary
#6F6D17 #17456F #41176F
monochromatic
#191905 #3C3B0C #6F6D17 #A29F22 #D3D02D

Accessibility & contrast

On white

5.42
#6F6D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6F6D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F6D17
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F6D17#FFFFFF#000000##FFFFFF
##6F6D171.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776803
Deuteranopia (green-blind)
#786B1E
Tritanopia (blue-blind)
#78655D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6f6d17;
/* rgb */ color: rgb(111, 109, 23);
/* oklch */ color: oklch(52.1% 0.103 108.1);
Tailwind
colors: {
  custom: {
    50: '#9b965c',
    500: '#6f6d17',
    950: '#000000',
  },
}
SCSS
$custom: #6f6d17;
$custom-light: #9b965c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6d17",
  "rgb": {
    "r": 111,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 58.636,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.10305,
    "h": 108.1
  },
  "luminance": 0.14379
}

Semantic roles & 50–950 ramp

primary
#6F6D17
secondary
#3D3FA5
accent
#43E93F
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0F0D04
muted
#7E7E79

Preview Lab

Preview with #6F6D17

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

Preview Lab → · Contrast checker → · Palette generator →

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