#6D7212#6D7212

#6D7212 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.0% C 0.112 H 112.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6D7212
RGBrgb(109, 114, 18)
HSLhsl(63, 73%, 26%)
HSVhsv(63, 84%, 45%)
CMYKcmyk(4.4%, 0%, 84.2%, 55.3%)
CIE-LABlab(46.08, -13.78, 47.48)
CIE-LCHlch(46.08, 49.44, 106.18°)
OKLaboklab(53.05% -0.0432 0.1029)
OKLCHoklch(53.05% 0.112 112.8)
XYZxyz(12.4336, 15.3298, 2.8761)
Luminance0.1533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7212 #171272
analogous
#724712 #6D7212 #3D7212
triadic
#6D7212 #126D72 #72126D
tetradic
#6D7212 #127247 #171272 #72123D
square
#6D7212 #127247 #171272 #72123D
split-complementary
#6D7212 #123D72 #471272
monochromatic
#191A04 #3A3D0A #6D7212 #A0A71A #D2DC23

Accessibility & contrast

On white

5.16
#6D7212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6D7212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7212
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7212#FFFFFF#000000##FFFFFF
##6D72121.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7B6E1B
Tritanopia (blue-blind)
#756A61
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6d7212;
/* rgb */ color: rgb(109, 114, 18);
/* oklch */ color: oklch(53.0% 0.112 112.8);
Tailwind
colors: {
  custom: {
    50: '#9a9a5b',
    500: '#6d7212',
    950: '#000000',
  },
}
SCSS
$custom: #6d7212;
$custom-light: #9a9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7212",
  "rgb": {
    "r": 109,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 63.125,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.53048,
    "c": 0.11158,
    "h": 112.8
  },
  "luminance": 0.1533
}

Semantic roles & 50–950 ramp

primary
#6D7212
secondary
#3D37A9
accent
#38EF42
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6D7212

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

Preview Lab → · Contrast checker → · Palette generator →

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