#6F6C12#6F6C12

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

Color values

HEX#6F6C12
RGBrgb(111, 108, 18)
HSLhsl(58, 72%, 25%)
HSVhsv(58, 84%, 44%)
CMYKcmyk(0%, 2.7%, 83.8%, 56.5%)
CIE-LABlab(44.45, -9.51, 46.11)
CIE-LCHlch(44.45, 47.09, 101.66°)
OKLaboklab(51.78% -0.0315 0.0999)
OKLCHoklch(51.78% 0.105 107.5)
XYZxyz(12.0278, 14.1487, 2.6696)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6C12 #12156F
analogous
#6F3E12 #6F6C12 #436F12
triadic
#6F6C12 #126F6C #6C126F
tetradic
#6F6C12 #126F3E #12156F #6F1243
square
#6F6C12 #126F3E #12156F #6F1243
split-complementary
#6F6C12 #12436F #3E126F
monochromatic
#1A1A04 #3A3909 #6F6C12 #A49F1B #D8D223

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F6C12#FFFFFF#000000##FFFFFF
##6F6C121.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)
#766700
Deuteranopia (green-blind)
#776B1A
Tritanopia (blue-blind)
#78645C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6f6c12;
/* rgb */ color: rgb(111, 108, 18);
/* oklch */ color: oklch(51.8% 0.105 107.5);
Tailwind
colors: {
  custom: {
    50: '#9c955a',
    500: '#6f6c12',
    950: '#000000',
  },
}
SCSS
$custom: #6f6c12;
$custom-light: #9c955a;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6c12",
  "rgb": {
    "r": 111,
    "g": 108,
    "b": 18
  },
  "hsl": {
    "h": 58.065,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.51782,
    "c": 0.1047,
    "h": 107.5
  },
  "luminance": 0.14148
}

Semantic roles & 50–950 ramp

primary
#6F6C12
secondary
#373AA6
accent
#3FEF39
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0F0D04
muted
#7E7E79

Preview Lab

Preview with #6F6C12

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

Preview Lab → · Contrast checker → · Palette generator →

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