#6F7512#6F7512

#6F7512 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.0% C 0.114 H 113.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#6F7512
RGBrgb(111, 117, 18)
HSLhsl(64, 73%, 26%)
HSVhsv(64, 85%, 46%)
CMYKcmyk(5.1%, 0%, 84.6%, 54.1%)
CIE-LABlab(47.17, -14.48, 48.48)
CIE-LCHlch(47.17, 50.60, 106.62°)
OKLaboklab(53.96% -0.0453 0.105)
OKLCHoklch(53.96% 0.114 113.3)
XYZxyz(13.0264, 16.1461, 3.0024)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7512 #181275
analogous
#754A12 #6F7512 #3E7512
triadic
#6F7512 #126F75 #75126F
tetradic
#6F7512 #12754A #181275 #75123E
square
#6F7512 #12754A #181275 #75123E
split-complementary
#6F7512 #123E75 #4A1275
monochromatic
#191B04 #3D400A #6F7512 #A1AA1A #D2DD24

Accessibility & contrast

On white

4.97
#6F7512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#6F7512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7512
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7512#FFFFFF#000000##FFFFFF
##6F75121.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#7E711C
Tritanopia (blue-blind)
#776D63
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6f7512;
/* rgb */ color: rgb(111, 117, 18);
/* oklch */ color: oklch(54.0% 0.114 113.3);
Tailwind
colors: {
  custom: {
    50: '#9c9c5b',
    500: '#6f7512',
    950: '#000000',
  },
}
SCSS
$custom: #6f7512;
$custom-light: #9c9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7512",
  "rgb": {
    "r": 111,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 63.636,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.53958,
    "c": 0.11429,
    "h": 113.3
  },
  "luminance": 0.16146
}

Semantic roles & 50–950 ramp

primary
#6F7512
secondary
#3E37AC
accent
#38F043
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E04
muted
#7E7E79

Preview Lab

Preview with #6F7512

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

Preview Lab → · Contrast checker → · Palette generator →

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