#6F6F17#6F6F17

#6F6F17 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.5% C 0.105 H 109.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6F6F17
RGBrgb(111, 111, 23)
HSLhsl(60, 66%, 26%)
HSVhsv(60, 79%, 44%)
CMYKcmyk(0%, 0%, 79.3%, 56.5%)
CIE-LABlab(45.37, -10.99, 45.30)
CIE-LCHlch(45.37, 46.61, 103.63°)
OKLaboklab(52.53% -0.0352 0.0991)
OKLCHoklch(52.53% 0.105 109.5)
XYZxyz(12.3951, 14.8106, 3.0163)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6F17 #17176F
analogous
#6F4317 #6F6F17 #436F17
triadic
#6F6F17 #176F6F #6F176F
tetradic
#6F6F17 #176F43 #17176F #6F1743
square
#6F6F17 #176F43 #17176F #6F1743
split-complementary
#6F6F17 #17436F #43176F
monochromatic
#191905 #3C3C0C #6F6F17 #A2A222 #D3D32D

Accessibility & contrast

On white

5.30
#6F6F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6F6F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F6F17
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F6F17#FFFFFF#000000##FFFFFF
##6F6F171.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A02
Deuteranopia (green-blind)
#7A6D1E
Tritanopia (blue-blind)
#77675F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6f6f17;
/* rgb */ color: rgb(111, 111, 23);
/* oklch */ color: oklch(52.5% 0.105 109.5);
Tailwind
colors: {
  custom: {
    50: '#9b985c',
    500: '#6f6f17',
    950: '#000000',
  },
}
SCSS
$custom: #6f6f17;
$custom-light: #9b985c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6f17",
  "rgb": {
    "r": 111,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 60,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.52532,
    "c": 0.10517,
    "h": 109.5
  },
  "luminance": 0.1481
}

Semantic roles & 50–950 ramp

primary
#6F6F17
secondary
#3D3DA5
accent
#3FE93F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0D04
muted
#7E7E79

Preview Lab

Preview with #6F6F17

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

Preview Lab → · Contrast checker → · Palette generator →

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