#6B7016#6B7016

#6B7016 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.4% C 0.108 H 112.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6B7016
RGBrgb(107, 112, 22)
HSLhsl(63, 67%, 26%)
HSVhsv(63, 80%, 44%)
CMYKcmyk(4.5%, 0%, 80.4%, 56.1%)
CIE-LABlab(45.32, -13.46, 45.47)
CIE-LCHlch(45.32, 47.42, 106.49°)
OKLaboklab(52.4% -0.0419 0.0994)
OKLCHoklch(52.4% 0.108 112.9)
XYZxyz(12.0028, 14.7723, 2.9780)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7016 #1B1670
analogous
#704816 #6B7016 #3E7016
triadic
#6B7016 #166B70 #70166B
tetradic
#6B7016 #167048 #1B1670 #70163E
square
#6B7016 #167048 #1B1670 #70163E
split-complementary
#6B7016 #163E70 #481670
monochromatic
#181A05 #3A3D0C #6B7016 #9CA320 #CCD52B

Accessibility & contrast

On white

5.31
#6B7016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6B7016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7016
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7016#FFFFFF#000000##FFFFFF
##6B70161.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#796C1E
Tritanopia (blue-blind)
#73695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6b7016;
/* rgb */ color: rgb(107, 112, 22);
/* oklch */ color: oklch(52.4% 0.108 112.9);
Tailwind
colors: {
  custom: {
    50: '#98985c',
    500: '#6b7016',
    950: '#000000',
  },
}
SCSS
$custom: #6b7016;
$custom-light: #98985c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7016",
  "rgb": {
    "r": 107,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 63.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.52402,
    "c": 0.10791,
    "h": 112.9
  },
  "luminance": 0.14772
}

Semantic roles & 50–950 ramp

primary
#6B7016
secondary
#423CA6
accent
#3EEA47
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6B7016

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

Preview Lab → · Contrast checker → · Palette generator →

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