#6C7211#6C7211

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

Color values

HEX#6C7211
RGBrgb(108, 114, 17)
HSLhsl(64, 74%, 26%)
HSVhsv(64, 85%, 45%)
CMYKcmyk(5.3%, 0%, 85.1%, 55.3%)
CIE-LABlab(45.99, -14.28, 47.65)
CIE-LCHlch(45.99, 49.75, 106.69°)
OKLaboklab(52.95% -0.0446 0.1031)
OKLCHoklch(52.95% 0.112 113.4)
XYZxyz(12.3032, 15.2635, 2.8283)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7211 #171172
analogous
#724711 #6C7211 #3B7211
triadic
#6C7211 #116C72 #72116C
tetradic
#6C7211 #117247 #171172 #72113B
square
#6C7211 #117247 #171172 #72113B
split-complementary
#6C7211 #113B72 #471172
monochromatic
#191B04 #3A3D09 #6C7211 #9EA719 #D1DD21

Accessibility & contrast

On white

5.18
#6C7211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6C7211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7211
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7211#FFFFFF#000000##FFFFFF
##6C72111.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c7211;
/* rgb */ color: rgb(108, 114, 17);
/* oklch */ color: oklch(53.0% 0.112 113.4);
Tailwind
colors: {
  custom: {
    50: '#999a5a',
    500: '#6c7211',
    950: '#000000',
  },
}
SCSS
$custom: #6c7211;
$custom-light: #999a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7211",
  "rgb": {
    "r": 108,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 63.711,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.52954,
    "c": 0.11236,
    "h": 113.4
  },
  "luminance": 0.15263
}

Semantic roles & 50–950 ramp

primary
#6C7211
secondary
#3D36A9
accent
#37F143
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6C7211

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

Preview Lab → · Contrast checker → · Palette generator →

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