#6D771F#6D771F

#6D771F is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.4% C 0.110 H 115.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6D771F
RGBrgb(109, 119, 31)
HSLhsl(67, 59%, 29%)
HSVhsv(67, 74%, 47%)
CMYKcmyk(8.4%, 0%, 73.9%, 53.3%)
CIE-LABlab(47.68, -15.87, 44.45)
CIE-LCHlch(47.68, 47.20, 109.65°)
OKLaboklab(54.35% -0.0479 0.0989)
OKLCHoklch(54.35% 0.11 115.8)
XYZxyz(13.1512, 16.5440, 3.7966)
Luminance0.1654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D771F #291F77
analogous
#77551F #6D771F #41771F
triadic
#6D771F #1F6D77 #771F6D
tetradic
#6D771F #1F7755 #291F77 #771F41
square
#6D771F #1F7755 #291F77 #771F41
split-complementary
#6D771F #1F4177 #551F77
monochromatic
#161806 #414612 #6D771F #99A82C #BECE43

Accessibility & contrast

On white

4.87
#6D771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#6D771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D771F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D771F#FFFFFF#000000##FFFFFF
##6D771F1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710F
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#747066
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6d771f;
/* rgb */ color: rgb(109, 119, 31);
/* oklch */ color: oklch(54.4% 0.110 115.8);
Tailwind
colors: {
  custom: {
    50: '#9a9e61',
    500: '#6d771f',
    950: '#000000',
  },
}
SCSS
$custom: #6d771f;
$custom-light: #9a9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#6d771f",
  "rgb": {
    "r": 109,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 66.818,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54352,
    "c": 0.10991,
    "h": 115.8
  },
  "luminance": 0.16544
}

Semantic roles & 50–950 ramp

primary
#6D771F
secondary
#5347AB
accent
#46E258
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D771F

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

Preview Lab → · Contrast checker → · Palette generator →

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