#6D7211#6D7211

#6D7211 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.17:1 contrast (WCAG AA passes).

Color values

HEX#6D7211
RGBrgb(109, 114, 17)
HSLhsl(63, 74%, 26%)
HSVhsv(63, 85%, 45%)
CMYKcmyk(4.4%, 0%, 85.1%, 55.3%)
CIE-LABlab(46.08, -13.82, 47.76)
CIE-LCHlch(46.08, 49.72, 106.13°)
OKLaboklab(53.04% -0.0434 0.1033)
OKLCHoklch(53.04% 0.112 112.8)
XYZxyz(12.4256, 15.3266, 2.8340)
Luminance0.1533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7211 #161172
analogous
#724611 #6D7211 #3C7211
triadic
#6D7211 #116D72 #72116D
tetradic
#6D7211 #117246 #161172 #72113C
square
#6D7211 #117246 #161172 #72113C
split-complementary
#6D7211 #113C72 #461172
monochromatic
#191B04 #3A3D09 #6D7211 #A0A719 #D3DD21

Accessibility & contrast

On white

5.17
#6D7211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D7211
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7211#FFFFFF#000000##FFFFFF
##6D72111.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.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: #6d7211;
/* rgb */ color: rgb(109, 114, 17);
/* oklch */ color: oklch(53.0% 0.112 112.8);
Tailwind
colors: {
  custom: {
    50: '#9a9a5a',
    500: '#6d7211',
    950: '#000000',
  },
}
SCSS
$custom: #6d7211;
$custom-light: #9a9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7211",
  "rgb": {
    "r": 109,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 63.093,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.53043,
    "c": 0.11204,
    "h": 112.8
  },
  "luminance": 0.15326
}

Semantic roles & 50–950 ramp

primary
#6D7211
secondary
#3C36A9
accent
#37F141
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6D7211

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

Preview Lab → · Contrast checker → · Palette generator →

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