#6C7014#6C7014

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

Color values

HEX#6C7014
RGBrgb(108, 112, 20)
HSLhsl(63, 70%, 26%)
HSVhsv(63, 82%, 44%)
CMYKcmyk(3.6%, 0%, 82.1%, 56.1%)
CIE-LABlab(45.40, -13.08, 46.23)
CIE-LCHlch(45.40, 48.04, 105.80°)
OKLaboklab(52.48% -0.0411 0.1006)
OKLCHoklch(52.48% 0.109 112.2)
XYZxyz(12.1052, 14.8273, 2.8860)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7014 #181470
analogous
#704614 #6C7014 #3E7014
triadic
#6C7014 #146C70 #70146C
tetradic
#6C7014 #147046 #181470 #70143E
square
#6C7014 #147046 #181470 #70143E
split-complementary
#6C7014 #143E70 #461470
monochromatic
#191A05 #3A3C0B #6C7014 #9EA41D #D0D827

Accessibility & contrast

On white

5.30
#6C7014 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6C7014 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7014
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7014#FFFFFF#000000##FFFFFF
##6C70141.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#7A6C1D
Tritanopia (blue-blind)
#74695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6c7014;
/* rgb */ color: rgb(108, 112, 20);
/* oklch */ color: oklch(52.5% 0.109 112.2);
Tailwind
colors: {
  custom: {
    50: '#99985b',
    500: '#6c7014',
    950: '#000000',
  },
}
SCSS
$custom: #6c7014;
$custom-light: #99985b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7014",
  "rgb": {
    "r": 108,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 62.609,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.5248,
    "c": 0.10868,
    "h": 112.2
  },
  "luminance": 0.14827
}

Semantic roles & 50–950 ramp

primary
#6C7014
secondary
#3E39A6
accent
#3BED43
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6C7014

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

Preview Lab → · Contrast checker → · Palette generator →

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