#6A771D#6A771D

#6A771D is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.1% C 0.112 H 117.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#6A771D
RGBrgb(106, 119, 29)
HSLhsl(69, 61%, 29%)
HSVhsv(69, 76%, 47%)
CMYKcmyk(10.9%, 0%, 75.6%, 53.3%)
CIE-LABlab(47.43, -17.35, 44.90)
CIE-LCHlch(47.43, 48.13, 111.13°)
OKLaboklab(54.08% -0.052 0.0996)
OKLCHoklch(54.08% 0.112 117.6)
XYZxyz(12.7628, 16.3467, 3.6450)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A771D #2A1D77
analogous
#77571D #6A771D #3D771D
triadic
#6A771D #1D6A77 #771D6A
tetradic
#6A771D #1D7757 #2A1D77 #771D3D
square
#6A771D #1D7757 #2A1D77 #771D3D
split-complementary
#6A771D #1D3D77 #571D77
monochromatic
#161906 #3E4611 #6A771D #96A829 #BBD03E

Accessibility & contrast

On white

4.92
#6A771D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#6A771D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A771D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A771D#FFFFFF#000000##FFFFFF
##6A771D1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700B
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#717066
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6a771d;
/* rgb */ color: rgb(106, 119, 29);
/* oklch */ color: oklch(54.1% 0.112 117.6);
Tailwind
colors: {
  custom: {
    50: '#979e60',
    500: '#6a771d',
    950: '#000000',
  },
}
SCSS
$custom: #6a771d;
$custom-light: #979e60;
$custom-dark: #000000;
JSON
{
  "hex": "#6a771d",
  "rgb": {
    "r": 106,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 68.667,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54084,
    "c": 0.11234,
    "h": 117.6
  },
  "luminance": 0.16347
}

Semantic roles & 50–950 ramp

primary
#6A771D
secondary
#5445AB
accent
#44E45B
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A771D

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

Preview Lab → · Contrast checker → · Palette generator →

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