#6A7616#6A7616

#6A7616 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 53.8% C 0.115 H 116.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#6A7616
RGBrgb(106, 118, 22)
HSLhsl(68, 69%, 27%)
HSVhsv(68, 81%, 46%)
CMYKcmyk(10.2%, 0%, 81.4%, 53.7%)
CIE-LABlab(47.08, -17.16, 47.03)
CIE-LCHlch(47.08, 50.07, 110.05°)
OKLaboklab(53.79% -0.0521 0.1028)
OKLCHoklch(53.79% 0.115 116.9)
XYZxyz(12.5674, 16.0791, 3.2004)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7616 #221676
analogous
#765216 #6A7616 #3A7616
triadic
#6A7616 #166A76 #76166A
tetradic
#6A7616 #167652 #221676 #76163A
square
#6A7616 #167652 #221676 #76163A
split-complementary
#6A7616 #163A76 #521676
monochromatic
#171A05 #3C420C #6A7616 #98AA20 #C3D82E

Accessibility & contrast

On white

4.98
#6A7616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#6A7616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7616
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7616#FFFFFF#000000##FFFFFF
##6A76161.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#7E701F
Tritanopia (blue-blind)
#716F64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6a7616;
/* rgb */ color: rgb(106, 118, 22);
/* oklch */ color: oklch(53.8% 0.115 116.9);
Tailwind
colors: {
  custom: {
    50: '#989d5d',
    500: '#6a7616',
    950: '#000000',
  },
}
SCSS
$custom: #6a7616;
$custom-light: #989d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7616",
  "rgb": {
    "r": 106,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 67.5,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.53791,
    "c": 0.11525,
    "h": 116.9
  },
  "luminance": 0.16079
}

Semantic roles & 50–950 ramp

primary
#6A7616
secondary
#4A3CAC
accent
#3CEB52
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A7616

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

Preview Lab → · Contrast checker → · Palette generator →

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