#6B7212#6B7212

#6B7212 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 52.9% C 0.112 H 114.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6B7212
RGBrgb(107, 114, 18)
HSLhsl(64, 73%, 26%)
HSVhsv(64, 84%, 45%)
CMYKcmyk(6.1%, 0%, 84.2%, 55.3%)
CIE-LABlab(45.91, -14.71, 47.26)
CIE-LCHlch(45.91, 49.50, 107.29°)
OKLaboklab(52.87% -0.0457 0.1025)
OKLCHoklch(52.87% 0.112 114)
XYZxyz(12.1903, 15.2044, 2.8647)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7212 #191272
analogous
#724912 #6B7212 #3B7212
triadic
#6B7212 #126B72 #72126B
tetradic
#6B7212 #127249 #191272 #72123B
square
#6B7212 #127249 #191272 #72123B
split-complementary
#6B7212 #123B72 #491272
monochromatic
#191A04 #393D0A #6B7212 #9DA71A #CEDC23

Accessibility & contrast

On white

5.20
#6B7212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#6B7212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7212
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7212#FFFFFF#000000##FFFFFF
##6B72121.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7B6E1C
Tritanopia (blue-blind)
#736B61
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6b7212;
/* rgb */ color: rgb(107, 114, 18);
/* oklch */ color: oklch(52.9% 0.112 114.0);
Tailwind
colors: {
  custom: {
    50: '#999a5b',
    500: '#6b7212',
    950: '#000000',
  },
}
SCSS
$custom: #6b7212;
$custom-light: #999a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7212",
  "rgb": {
    "r": 107,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 64.375,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.5287,
    "c": 0.11223,
    "h": 114
  },
  "luminance": 0.15204
}

Semantic roles & 50–950 ramp

primary
#6B7212
secondary
#3F37A9
accent
#38EF46
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6B7212

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

Preview Lab → · Contrast checker → · Palette generator →

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