#6B7112#6B7112

#6B7112 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 52.6% C 0.111 H 113.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6B7112
RGBrgb(107, 113, 18)
HSLhsl(64, 73%, 26%)
HSVhsv(64, 84%, 44%)
CMYKcmyk(5.3%, 0%, 84.1%, 55.7%)
CIE-LABlab(45.61, -14.17, 46.99)
CIE-LCHlch(45.61, 49.08, 106.78°)
OKLaboklab(52.63% -0.0442 0.1019)
OKLCHoklch(52.63% 0.111 113.4)
XYZxyz(12.0781, 14.9800, 2.8273)
Luminance0.1498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7112 #181271
analogous
#714712 #6B7112 #3C7112
triadic
#6B7112 #126B71 #71126B
tetradic
#6B7112 #127147 #181271 #71123C
square
#6B7112 #127147 #181271 #71123C
split-complementary
#6B7112 #123C71 #471271
monochromatic
#191A04 #393C0A #6B7112 #9DA61A #CFDB23

Accessibility & contrast

On white

5.26
#6B7112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6B7112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7112
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7112#FFFFFF#000000##FFFFFF
##6B71121.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7A6D1B
Tritanopia (blue-blind)
#736A60
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6b7112;
/* rgb */ color: rgb(107, 113, 18);
/* oklch */ color: oklch(52.6% 0.111 113.4);
Tailwind
colors: {
  custom: {
    50: '#99995a',
    500: '#6b7112',
    950: '#000000',
  },
}
SCSS
$custom: #6b7112;
$custom-light: #99995a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7112",
  "rgb": {
    "r": 107,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 63.789,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.52625,
    "c": 0.1111,
    "h": 113.4
  },
  "luminance": 0.1498
}

Semantic roles & 50–950 ramp

primary
#6B7112
secondary
#3E37A8
accent
#39EF44
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6B7112

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

Preview Lab → · Contrast checker → · Palette generator →

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