#6D7312#6D7312

#6D7312 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.3% C 0.113 H 113.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#6D7312
RGBrgb(109, 115, 18)
HSLhsl(64, 73%, 26%)
HSVhsv(64, 84%, 45%)
CMYKcmyk(5.2%, 0%, 84.3%, 54.9%)
CIE-LABlab(46.39, -14.32, 47.74)
CIE-LCHlch(46.39, 49.84, 106.70°)
OKLaboklab(53.29% -0.0447 0.1034)
OKLCHoklch(53.29% 0.113 113.4)
XYZxyz(12.5470, 15.5566, 2.9139)
Luminance0.1556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7312 #181273
analogous
#734812 #6D7312 #3C7312
triadic
#6D7312 #126D73 #73126D
tetradic
#6D7312 #127348 #181273 #73123C
square
#6D7312 #127348 #181273 #73123C
split-complementary
#6D7312 #123C73 #481273
monochromatic
#191A04 #3B3E0A #6D7312 #9FA81A #D1DD23

Accessibility & contrast

On white

5.11
#6D7312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#6D7312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7312
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7312#FFFFFF#000000##FFFFFF
##6D73121.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7C6F1C
Tritanopia (blue-blind)
#756B62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6d7312;
/* rgb */ color: rgb(109, 115, 18);
/* oklch */ color: oklch(53.3% 0.113 113.4);
Tailwind
colors: {
  custom: {
    50: '#9a9b5b',
    500: '#6d7312',
    950: '#000000',
  },
}
SCSS
$custom: #6d7312;
$custom-light: #9a9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7312",
  "rgb": {
    "r": 109,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 63.711,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.53292,
    "c": 0.1127,
    "h": 113.4
  },
  "luminance": 0.15556
}

Semantic roles & 50–950 ramp

primary
#6D7312
secondary
#3E37AA
accent
#38F044
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6D7312

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

Preview Lab → · Contrast checker → · Palette generator →

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