#6D771A#6D771A

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

Color values

HEX#6D771A
RGBrgb(109, 119, 26)
HSLhsl(66, 64%, 28%)
HSVhsv(66, 78%, 47%)
CMYKcmyk(8.4%, 0%, 78.2%, 53.3%)
CIE-LABlab(47.65, -16.14, 46.29)
CIE-LCHlch(47.65, 49.03, 109.22°)
OKLaboklab(54.32% -0.0491 0.1019)
OKLCHoklch(54.32% 0.113 115.7)
XYZxyz(13.0903, 16.5197, 3.4761)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D771A #241A77
analogous
#77521A #6D771A #3E771A
triadic
#6D771A #1A6D77 #771A6D
tetradic
#6D771A #1A7752 #241A77 #771A3E
square
#6D771A #1A7752 #241A77 #771A3E
split-complementary
#6D771A #1A3E77 #521A77
monochromatic
#171905 #3F450F #6D771A #9BA925 #C3D338

Accessibility & contrast

On white

4.88
#6D771A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D771A
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D771A#FFFFFF#000000##FFFFFF
##6D771A1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807105
Deuteranopia (green-blind)
#7F7222
Tritanopia (blue-blind)
#747065
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6d771a;
/* rgb */ color: rgb(109, 119, 26);
/* oklch */ color: oklch(54.3% 0.113 115.7);
Tailwind
colors: {
  custom: {
    50: '#9a9e5f',
    500: '#6d771a',
    950: '#000000',
  },
}
SCSS
$custom: #6d771a;
$custom-light: #9a9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d771a",
  "rgb": {
    "r": 109,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 66.452,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54317,
    "c": 0.11309,
    "h": 115.7
  },
  "luminance": 0.16519
}

Semantic roles & 50–950 ramp

primary
#6D771A
secondary
#4D41AC
accent
#41E753
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D771A

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

Preview Lab → · Contrast checker → · Palette generator →

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