#6C7814#6C7814

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

Color values

HEX#6C7814
RGBrgb(108, 120, 20)
HSLhsl(67, 71%, 27%)
HSVhsv(67, 83%, 47%)
CMYKcmyk(10%, 0%, 83.3%, 52.9%)
CIE-LABlab(47.84, -17.39, 48.40)
CIE-LCHlch(47.84, 51.43, 109.77°)
OKLaboklab(54.44% -0.053 0.1053)
OKLCHoklch(54.44% 0.118 116.7)
XYZxyz(13.0274, 16.6718, 3.1934)
Luminance0.1667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7814 #201478
analogous
#785214 #6C7814 #3A7814
triadic
#6C7814 #146C78 #78146C
tetradic
#6C7814 #147852 #201478 #78143A
square
#6C7814 #147852 #201478 #78143A
split-complementary
#6C7814 #143A78 #521478
monochromatic
#181A04 #3D440B #6C7814 #9BAC1D #C6DC2B

Accessibility & contrast

On white

4.84
#6C7814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#6C7814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7814
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7814#FFFFFF#000000##FFFFFF
##6C78141.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c7814;
/* rgb */ color: rgb(108, 120, 20);
/* oklch */ color: oklch(54.4% 0.118 116.7);
Tailwind
colors: {
  custom: {
    50: '#999e5c',
    500: '#6c7814',
    950: '#000000',
  },
}
SCSS
$custom: #6c7814;
$custom-light: #999e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7814",
  "rgb": {
    "r": 108,
    "g": 120,
    "b": 20
  },
  "hsl": {
    "h": 67.2,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.54444,
    "c": 0.11785,
    "h": 116.7
  },
  "luminance": 0.16672
}

Semantic roles & 50–950 ramp

primary
#6C7814
secondary
#483AAE
accent
#3AEE4F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6C7814

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

Preview Lab → · Contrast checker → · Palette generator →

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