#6B7310#6B7310

#6B7310 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#6B7310
RGBrgb(107, 115, 16)
HSLhsl(65, 76%, 26%)
HSVhsv(65, 86%, 45%)
CMYKcmyk(7%, 0%, 86.1%, 54.9%)
CIE-LABlab(46.21, -15.33, 48.09)
CIE-LCHlch(46.21, 50.47, 107.68°)
OKLaboklab(53.11% -0.0475 0.1039)
OKLCHoklch(53.11% 0.114 114.6)
XYZxyz(12.2881, 15.4249, 2.8201)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7310 #181073
analogous
#734910 #6B7310 #3A7310
triadic
#6B7310 #106B73 #73106B
tetradic
#6B7310 #107349 #181073 #73103A
square
#6B7310 #107349 #181073 #73103A
split-complementary
#6B7310 #103A73 #491073
monochromatic
#191B04 #393D09 #6B7310 #9DA917 #CFDE1F

Accessibility & contrast

On white

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

On black

4.08
#6B7310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6B7310#FFFFFF#000000##FFFFFF
##6B73101.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b7310;
/* rgb */ color: rgb(107, 115, 16);
/* oklch */ color: oklch(53.1% 0.114 114.6);
Tailwind
colors: {
  custom: {
    50: '#999b5a',
    500: '#6b7310',
    950: '#000000',
  },
}
SCSS
$custom: #6b7310;
$custom-light: #999b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7310",
  "rgb": {
    "r": 107,
    "g": 115,
    "b": 16
  },
  "hsl": {
    "h": 64.848,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.53106,
    "c": 0.11426,
    "h": 114.6
  },
  "luminance": 0.15425
}

Semantic roles & 50–950 ramp

primary
#6B7310
secondary
#3E34AA
accent
#36F245
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6B7310

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

Preview Lab → · Contrast checker → · Palette generator →

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