#6D7112#6D7112

#6D7112 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 52.8% C 0.110 H 112.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6D7112
RGBrgb(109, 113, 18)
HSLhsl(63, 73%, 26%)
HSVhsv(63, 84%, 44%)
CMYKcmyk(3.5%, 0%, 84.1%, 55.7%)
CIE-LABlab(45.78, -13.23, 47.21)
CIE-LCHlch(45.78, 49.03, 105.66°)
OKLaboklab(52.8% -0.0417 0.1023)
OKLCHoklch(52.8% 0.11 112.2)
XYZxyz(12.3214, 15.1054, 2.8387)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7112 #161271
analogous
#714512 #6D7112 #3D7112
triadic
#6D7112 #126D71 #71126D
tetradic
#6D7112 #127145 #161271 #71123D
square
#6D7112 #127145 #161271 #71123D
split-complementary
#6D7112 #123D71 #451271
monochromatic
#191A04 #3A3C0A #6D7112 #A0A61A #D3DB23

Accessibility & contrast

On white

5.22
#6D7112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6D7112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7112
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7112#FFFFFF#000000##FFFFFF
##6D71121.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7B6D1B
Tritanopia (blue-blind)
#756960
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6d7112;
/* rgb */ color: rgb(109, 113, 18);
/* oklch */ color: oklch(52.8% 0.110 112.2);
Tailwind
colors: {
  custom: {
    50: '#9a995a',
    500: '#6d7112',
    950: '#000000',
  },
}
SCSS
$custom: #6d7112;
$custom-light: #9a995a;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7112",
  "rgb": {
    "r": 109,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 62.526,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.52804,
    "c": 0.11048,
    "h": 112.2
  },
  "luminance": 0.15105
}

Semantic roles & 50–950 ramp

primary
#6D7112
secondary
#3C37A8
accent
#39EF40
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6D7112

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

Preview Lab → · Contrast checker → · Palette generator →

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