#6B7814#6B7814

#6B7814 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.4% C 0.118 H 117.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#6B7814
RGBrgb(107, 120, 20)
HSLhsl(68, 71%, 27%)
HSVhsv(68, 83%, 47%)
CMYKcmyk(10.8%, 0%, 83.3%, 52.9%)
CIE-LABlab(47.76, -17.85, 48.30)
CIE-LCHlch(47.76, 51.49, 110.28°)
OKLaboklab(54.36% -0.0542 0.1051)
OKLCHoklch(54.36% 0.118 117.3)
XYZxyz(12.9065, 16.6094, 3.1877)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7814 #211478
analogous
#785314 #6B7814 #397814
triadic
#6B7814 #146B78 #78146B
tetradic
#6B7814 #147853 #211478 #781439
square
#6B7814 #147853 #211478 #781439
split-complementary
#6B7814 #143978 #531478
monochromatic
#171A04 #3C440B #6B7814 #9AAC1D #C5DC2B

Accessibility & contrast

On white

4.86
#6B7814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#6B7814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7814
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7814#FFFFFF#000000##FFFFFF
##6B78141.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#80721E
Tritanopia (blue-blind)
#727166
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6b7814;
/* rgb */ color: rgb(107, 120, 20);
/* oklch */ color: oklch(54.4% 0.118 117.3);
Tailwind
colors: {
  custom: {
    50: '#999e5c',
    500: '#6b7814',
    950: '#000000',
  },
}
SCSS
$custom: #6b7814;
$custom-light: #999e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7814",
  "rgb": {
    "r": 107,
    "g": 120,
    "b": 20
  },
  "hsl": {
    "h": 67.8,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.5436,
    "c": 0.11824,
    "h": 117.3
  },
  "luminance": 0.16609
}

Semantic roles & 50–950 ramp

primary
#6B7814
secondary
#493AAE
accent
#3AEE51
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6B7814

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

Preview Lab → · Contrast checker → · Palette generator →

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