#6D7311#6D7311

#6D7311 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.3% C 0.113 H 113.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#6D7311
RGBrgb(109, 115, 17)
HSLhsl(64, 74%, 26%)
HSVhsv(64, 85%, 45%)
CMYKcmyk(5.2%, 0%, 85.2%, 54.9%)
CIE-LABlab(46.38, -14.36, 48.02)
CIE-LCHlch(46.38, 50.12, 106.65°)
OKLaboklab(53.29% -0.0449 0.1039)
OKLCHoklch(53.29% 0.113 113.4)
XYZxyz(12.5390, 15.5534, 2.8718)
Luminance0.1555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7311 #171173
analogous
#734811 #6D7311 #3C7311
triadic
#6D7311 #116D73 #73116D
tetradic
#6D7311 #117348 #171173 #73113C
square
#6D7311 #117348 #171173 #73113C
split-complementary
#6D7311 #113C73 #481173
monochromatic
#191B04 #3A3E09 #6D7311 #A0A819 #D2DE21

Accessibility & contrast

On white

5.11
#6D7311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#6D7311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7311
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7311#FFFFFF#000000##FFFFFF
##6D73111.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7C6F1B
Tritanopia (blue-blind)
#756B62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6d7311;
/* rgb */ color: rgb(109, 115, 17);
/* oklch */ color: oklch(53.3% 0.113 113.4);
Tailwind
colors: {
  custom: {
    50: '#9a9b5a',
    500: '#6d7311',
    950: '#000000',
  },
}
SCSS
$custom: #6d7311;
$custom-light: #9a9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7311",
  "rgb": {
    "r": 109,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 63.673,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.53287,
    "c": 0.11315,
    "h": 113.4
  },
  "luminance": 0.15553
}

Semantic roles & 50–950 ramp

primary
#6D7311
secondary
#3D36AA
accent
#37F142
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6D7311

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

Preview Lab → · Contrast checker → · Palette generator →

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