#6B7416#6B7416

#6B7416 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.4% C 0.113 H 115.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6B7416
RGBrgb(107, 116, 22)
HSLhsl(66, 68%, 27%)
HSVhsv(66, 81%, 45%)
CMYKcmyk(7.8%, 0%, 81%, 54.5%)
CIE-LABlab(46.54, -15.63, 46.58)
CIE-LCHlch(46.54, 49.13, 108.55°)
OKLaboklab(53.38% -0.0479 0.1018)
OKLCHoklch(53.38% 0.113 115.2)
XYZxyz(12.4540, 15.6747, 3.1284)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7416 #1F1674
analogous
#744E16 #6B7416 #3C7416
triadic
#6B7416 #166B74 #74166B
tetradic
#6B7416 #16744E #1F1674 #74163C
square
#6B7416 #16744E #1F1674 #74163C
split-complementary
#6B7416 #163C74 #4E1674
monochromatic
#181A05 #3C410C #6B7416 #9AA720 #C7D72D

Accessibility & contrast

On white

5.08
#6B7416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6B7416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7416
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7416#FFFFFF#000000##FFFFFF
##6B74161.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7C6F1F
Tritanopia (blue-blind)
#726D63
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6b7416;
/* rgb */ color: rgb(107, 116, 22);
/* oklch */ color: oklch(53.4% 0.113 115.2);
Tailwind
colors: {
  custom: {
    50: '#989b5c',
    500: '#6b7416',
    950: '#000000',
  },
}
SCSS
$custom: #6b7416;
$custom-light: #989b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7416",
  "rgb": {
    "r": 107,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 65.745,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.53383,
    "c": 0.11252,
    "h": 115.2
  },
  "luminance": 0.15675
}

Semantic roles & 50–950 ramp

primary
#6B7416
secondary
#473CAA
accent
#3DEB4D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6B7416

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

Preview Lab → · Contrast checker → · Palette generator →

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