#6B7311#6B7311

#6B7311 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.1% C 0.114 H 114.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6B7311
RGBrgb(107, 115, 17)
HSLhsl(65, 74%, 26%)
HSVhsv(65, 85%, 45%)
CMYKcmyk(7%, 0%, 85.2%, 54.9%)
CIE-LABlab(46.21, -15.29, 47.81)
CIE-LCHlch(46.21, 50.20, 107.74°)
OKLaboklab(53.11% -0.0474 0.1035)
OKLCHoklch(53.11% 0.114 114.6)
XYZxyz(12.2957, 15.4280, 2.8604)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7311 #191173
analogous
#734A11 #6B7311 #3A7311
triadic
#6B7311 #116B73 #73116B
tetradic
#6B7311 #11734A #191173 #73113A
square
#6B7311 #11734A #191173 #73113A
split-complementary
#6B7311 #113A73 #4A1173
monochromatic
#191B04 #393E09 #6B7311 #9DA819 #CEDE21

Accessibility & contrast

On white

5.14
#6B7311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#6B7311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7311
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7311#FFFFFF#000000##FFFFFF
##6B73111.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7C6E1B
Tritanopia (blue-blind)
#736C62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6b7311;
/* rgb */ color: rgb(107, 115, 17);
/* oklch */ color: oklch(53.1% 0.114 114.6);
Tailwind
colors: {
  custom: {
    50: '#999b5a',
    500: '#6b7311',
    950: '#000000',
  },
}
SCSS
$custom: #6b7311;
$custom-light: #999b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7311",
  "rgb": {
    "r": 107,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 64.898,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.53111,
    "c": 0.11383,
    "h": 114.6
  },
  "luminance": 0.15428
}

Semantic roles & 50–950 ramp

primary
#6B7311
secondary
#3F36AA
accent
#37F146
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6B7311

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

Preview Lab → · Contrast checker → · Palette generator →

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