#6B7014#6B7014

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

Color values

HEX#6B7014
RGBrgb(107, 112, 20)
HSLhsl(63, 70%, 26%)
HSVhsv(63, 82%, 44%)
CMYKcmyk(4.5%, 0%, 82.1%, 56.1%)
CIE-LABlab(45.31, -13.55, 46.12)
CIE-LCHlch(45.31, 48.06, 106.37°)
OKLaboklab(52.39% -0.0423 0.1004)
OKLCHoklch(52.39% 0.109 112.8)
XYZxyz(11.9842, 14.7649, 2.8803)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7014 #191470
analogous
#704714 #6B7014 #3D7014
triadic
#6B7014 #146B70 #70146B
tetradic
#6B7014 #147047 #191470 #70143D
square
#6B7014 #147047 #191470 #70143D
split-complementary
#6B7014 #143D70 #471470
monochromatic
#191A05 #393C0B #6B7014 #9DA41D #CED827

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B7014#FFFFFF#000000##FFFFFF
##6B70141.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)
#796C1D
Tritanopia (blue-blind)
#73695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6b7014;
/* rgb */ color: rgb(107, 112, 20);
/* oklch */ color: oklch(52.4% 0.109 112.8);
Tailwind
colors: {
  custom: {
    50: '#98985b',
    500: '#6b7014',
    950: '#000000',
  },
}
SCSS
$custom: #6b7014;
$custom-light: #98985b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7014",
  "rgb": {
    "r": 107,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 63.261,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.5239,
    "c": 0.10898,
    "h": 112.8
  },
  "luminance": 0.14765
}

Semantic roles & 50–950 ramp

primary
#6B7014
secondary
#3F39A6
accent
#3BED45
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6B7014

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

Preview Lab → · Contrast checker → · Palette generator →

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