#6D7412#6D7412

#6D7412 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.5% C 0.114 H 114.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6D7412
RGBrgb(109, 116, 18)
HSLhsl(64, 73%, 26%)
HSVhsv(64, 84%, 45%)
CMYKcmyk(6%, 0%, 84.5%, 54.5%)
CIE-LABlab(46.69, -14.86, 48.01)
CIE-LCHlch(46.69, 50.26, 107.20°)
OKLaboklab(53.54% -0.0462 0.104)
OKLCHoklch(53.54% 0.114 114)
XYZxyz(12.6617, 15.7859, 2.9521)
Luminance0.1579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7412 #191274
analogous
#744A12 #6D7412 #3C7412
triadic
#6D7412 #126D74 #74126D
tetradic
#6D7412 #12744A #191274 #74123C
square
#6D7412 #12744A #191274 #74123C
split-complementary
#6D7412 #123C74 #4A1274
monochromatic
#191A04 #3B3F0A #6D7412 #9FA91A #D0DD23

Accessibility & contrast

On white

5.05
#6D7412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6D7412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7412
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7412#FFFFFF#000000##FFFFFF
##6D74121.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7D701C
Tritanopia (blue-blind)
#756D62
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6d7412;
/* rgb */ color: rgb(109, 116, 18);
/* oklch */ color: oklch(53.5% 0.114 114.0);
Tailwind
colors: {
  custom: {
    50: '#9a9b5b',
    500: '#6d7412',
    950: '#000000',
  },
}
SCSS
$custom: #6d7412;
$custom-light: #9a9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7412",
  "rgb": {
    "r": 109,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 64.286,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.53537,
    "c": 0.11382,
    "h": 114
  },
  "luminance": 0.15786
}

Semantic roles & 50–950 ramp

primary
#6D7412
secondary
#3F37AB
accent
#38F045
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6D7412

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

Preview Lab → · Contrast checker → · Palette generator →

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