#6D7012#6D7012

#6D7012 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.6% C 0.109 H 111.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6D7012
RGBrgb(109, 112, 18)
HSLhsl(62, 72%, 25%)
HSVhsv(62, 84%, 44%)
CMYKcmyk(2.7%, 0%, 83.9%, 56.1%)
CIE-LABlab(45.47, -12.68, 46.94)
CIE-LCHlch(45.47, 48.63, 105.12°)
OKLaboklab(52.56% -0.0402 0.1017)
OKLCHoklch(52.56% 0.109 111.6)
XYZxyz(12.2105, 14.8835, 2.8017)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7012 #151270
analogous
#704412 #6D7012 #3E7012
triadic
#6D7012 #126D70 #70126D
tetradic
#6D7012 #127044 #151270 #70123E
square
#6D7012 #127044 #151270 #70123E
split-complementary
#6D7012 #123E70 #441270
monochromatic
#1A1A04 #3A3B0A #6D7012 #A0A51A #D4D923

Accessibility & contrast

On white

5.28
#6D7012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6D7012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7012
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7012#FFFFFF#000000##FFFFFF
##6D70121.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#7A6D1B
Tritanopia (blue-blind)
#75685F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6d7012;
/* rgb */ color: rgb(109, 112, 18);
/* oklch */ color: oklch(52.6% 0.109 111.6);
Tailwind
colors: {
  custom: {
    50: '#9a985a',
    500: '#6d7012',
    950: '#000000',
  },
}
SCSS
$custom: #6d7012;
$custom-light: #9a985a;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7012",
  "rgb": {
    "r": 109,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 61.915,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.52561,
    "c": 0.10939,
    "h": 111.6
  },
  "luminance": 0.14883
}

Semantic roles & 50–950 ramp

primary
#6D7012
secondary
#3A37A7
accent
#39EF3F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6D7012

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

Preview Lab → · Contrast checker → · Palette generator →

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