#6F6C17#6F6C17

#6F6C17 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.8% C 0.102 H 107.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6F6C17
RGBrgb(111, 108, 23)
HSLhsl(58, 66%, 26%)
HSVhsv(58, 79%, 44%)
CMYKcmyk(0%, 2.7%, 79.3%, 56.5%)
CIE-LABlab(44.47, -9.31, 44.47)
CIE-LCHlch(44.47, 45.44, 101.82°)
OKLaboklab(51.81% -0.0305 0.0974)
OKLCHoklch(51.81% 0.102 107.4)
XYZxyz(12.0732, 14.1669, 2.9090)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6C17 #171A6F
analogous
#6F4017 #6F6C17 #466F17
triadic
#6F6C17 #176F6C #6C176F
tetradic
#6F6C17 #176F40 #171A6F #6F1746
square
#6F6C17 #176F40 #171A6F #6F1746
split-complementary
#6F6C17 #17466F #40176F
monochromatic
#191905 #3C3B0C #6F6C17 #A29D22 #D3CE2D

Accessibility & contrast

On white

5.48
#6F6C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#6F6C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F6C17
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F6C17#FFFFFF#000000##FFFFFF
##6F6C171.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766704
Deuteranopia (green-blind)
#776B1E
Tritanopia (blue-blind)
#78645C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6f6c17;
/* rgb */ color: rgb(111, 108, 23);
/* oklch */ color: oklch(51.8% 0.102 107.4);
Tailwind
colors: {
  custom: {
    50: '#9b955c',
    500: '#6f6c17',
    950: '#000000',
  },
}
SCSS
$custom: #6f6c17;
$custom-light: #9b955c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6c17",
  "rgb": {
    "r": 111,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 57.955,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51811,
    "c": 0.10201,
    "h": 107.4
  },
  "luminance": 0.14166
}

Semantic roles & 50–950 ramp

primary
#6F6C17
secondary
#3D41A5
accent
#45E93F
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0F0D04
muted
#7E7E79

Preview Lab

Preview with #6F6C17

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

Preview Lab → · Contrast checker → · Palette generator →

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