#6B6914#6B6914

#6B6914 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.7% C 0.101 H 108.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#6B6914
RGBrgb(107, 105, 20)
HSLhsl(59, 69%, 25%)
HSVhsv(59, 81%, 42%)
CMYKcmyk(0%, 1.9%, 81.3%, 58%)
CIE-LABlab(43.18, -9.66, 44.20)
CIE-LCHlch(43.18, 45.25, 102.33°)
OKLaboklab(50.69% -0.0315 0.0964)
OKLCHoklch(50.69% 0.101 108.1)
XYZxyz(11.2417, 13.2798, 2.6328)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6914 #14166B
analogous
#6B3E14 #6B6914 #416B14
triadic
#6B6914 #146B69 #69146B
tetradic
#6B6914 #146B3E #14166B #6B1441
square
#6B6914 #146B3E #14166B #6B1441
split-complementary
#6B6914 #14416B #3E146B
monochromatic
#1A1905 #37360A #6B6914 #9F9C1E #D2CE27

Accessibility & contrast

On white

5.74
#6B6914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6B6914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6914
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6914#FFFFFF#000000##FFFFFF
##6B69141.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#74671B
Tritanopia (blue-blind)
#736259
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6b6914;
/* rgb */ color: rgb(107, 105, 20);
/* oklch */ color: oklch(50.7% 0.101 108.1);
Tailwind
colors: {
  custom: {
    50: '#98935a',
    500: '#6b6914',
    950: '#000000',
  },
}
SCSS
$custom: #6b6914;
$custom-light: #98935a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6914",
  "rgb": {
    "r": 107,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 58.621,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50688,
    "c": 0.10137,
    "h": 108.1
  },
  "luminance": 0.13279
}

Semantic roles & 50–950 ramp

primary
#6B6914
secondary
#393BA2
accent
#40EB3C
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6B6914

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

Preview Lab → · Contrast checker → · Palette generator →

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