#6B6A16#6B6A16

#6B6A16 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 50.9% C 0.101 H 108.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#6B6A16
RGBrgb(107, 106, 22)
HSLhsl(59, 66%, 25%)
HSVhsv(59, 79%, 42%)
CMYKcmyk(0%, 0.9%, 79.4%, 58%)
CIE-LABlab(43.50, -10.14, 43.80)
CIE-LCHlch(43.50, 44.95, 103.03°)
OKLaboklab(50.94% -0.0327 0.0959)
OKLCHoklch(50.94% 0.101 108.8)
XYZxyz(11.3627, 13.4922, 2.7646)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6A16 #16176B
analogous
#6B3F16 #6B6A16 #416B16
triadic
#6B6A16 #166B6A #6A166B
tetradic
#6B6A16 #166B3F #16176B #6B1641
square
#6B6A16 #166B3F #16176B #6B1641
split-complementary
#6B6A16 #16416B #3F166B
monochromatic
#191905 #38380C #6B6A16 #9E9C20 #D1CF2B

Accessibility & contrast

On white

5.68
#6B6A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6B6A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6A16
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6A16#FFFFFF#000000##FFFFFF
##6B6A161.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736503
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#73635A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6b6a16;
/* rgb */ color: rgb(107, 106, 22);
/* oklch */ color: oklch(50.9% 0.101 108.8);
Tailwind
colors: {
  custom: {
    50: '#98945b',
    500: '#6b6a16',
    950: '#000000',
  },
}
SCSS
$custom: #6b6a16;
$custom-light: #98945b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6a16",
  "rgb": {
    "r": 107,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 59.294,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50942,
    "c": 0.10129,
    "h": 108.8
  },
  "luminance": 0.13492
}

Semantic roles & 50–950 ramp

primary
#6B6A16
secondary
#3B3DA1
accent
#41E93F
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6B6A16

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

Preview Lab → · Contrast checker → · Palette generator →

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