#6C771E#6C771E

#6C771E is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.3% C 0.111 H 116.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#6C771E
RGBrgb(108, 119, 30)
HSLhsl(67, 60%, 29%)
HSVhsv(67, 75%, 47%)
CMYKcmyk(9.2%, 0%, 74.8%, 53.3%)
CIE-LABlab(47.59, -16.39, 44.73)
CIE-LCHlch(47.59, 47.64, 110.12°)
OKLaboklab(54.26% -0.0493 0.0994)
OKLCHoklch(54.26% 0.111 116.4)
XYZxyz(13.0158, 16.4757, 3.7225)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C771E #291E77
analogous
#77561E #6C771E #40771E
triadic
#6C771E #1E6C77 #771E6C
tetradic
#6C771E #1E7756 #291E77 #771E40
square
#6C771E #1E7756 #291E77 #771E40
split-complementary
#6C771E #1E4077 #561E77
monochromatic
#161806 #404612 #6C771E #98A82A #BDCF40

Accessibility & contrast

On white

4.89
#6C771E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#6C771E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C771E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C771E#FFFFFF#000000##FFFFFF
##6C771E1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80700D
Deuteranopia (green-blind)
#7F7125
Tritanopia (blue-blind)
#737066
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6c771e;
/* rgb */ color: rgb(108, 119, 30);
/* oklch */ color: oklch(54.3% 0.111 116.4);
Tailwind
colors: {
  custom: {
    50: '#999e61',
    500: '#6c771e',
    950: '#000000',
  },
}
SCSS
$custom: #6c771e;
$custom-light: #999e61;
$custom-dark: #000000;
JSON
{
  "hex": "#6c771e",
  "rgb": {
    "r": 108,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 67.416,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5426,
    "c": 0.11094,
    "h": 116.4
  },
  "luminance": 0.16476
}

Semantic roles & 50–950 ramp

primary
#6C771E
secondary
#5346AB
accent
#45E358
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6C771E

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

Preview Lab → · Contrast checker → · Palette generator →

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