#6F7412#6F7412

#6F7412 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.7% C 0.113 H 112.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#6F7412
RGBrgb(111, 116, 18)
HSLhsl(63, 73%, 26%)
HSVhsv(63, 84%, 45%)
CMYKcmyk(4.3%, 0%, 84.5%, 54.5%)
CIE-LABlab(46.86, -13.93, 48.22)
CIE-LCHlch(46.86, 50.19, 106.12°)
OKLaboklab(53.72% -0.0438 0.1044)
OKLCHoklch(53.72% 0.113 112.7)
XYZxyz(12.9106, 15.9143, 2.9638)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7412 #171274
analogous
#744812 #6F7412 #3E7412
triadic
#6F7412 #126F74 #74126F
tetradic
#6F7412 #127448 #171274 #74123E
square
#6F7412 #127448 #171274 #74123E
split-complementary
#6F7412 #123E74 #481274
monochromatic
#191A04 #3C3F0A #6F7412 #A2A91A #D3DD23

Accessibility & contrast

On white

5.02
#6F7412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#6F7412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7412
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7412#FFFFFF#000000##FFFFFF
##6F74121.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7E701C
Tritanopia (blue-blind)
#776C62
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6f7412;
/* rgb */ color: rgb(111, 116, 18);
/* oklch */ color: oklch(53.7% 0.113 112.7);
Tailwind
colors: {
  custom: {
    50: '#9c9b5b',
    500: '#6f7412',
    950: '#000000',
  },
}
SCSS
$custom: #6f7412;
$custom-light: #9c9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7412",
  "rgb": {
    "r": 111,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 63.061,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.53715,
    "c": 0.11319,
    "h": 112.7
  },
  "luminance": 0.15914
}

Semantic roles & 50–950 ramp

primary
#6F7412
secondary
#3D37AB
accent
#38F041
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E04
muted
#7E7E79

Preview Lab

Preview with #6F7412

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

Preview Lab → · Contrast checker → · Palette generator →

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