#6A771C#6A771C

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

Color values

HEX#6A771C
RGBrgb(106, 119, 28)
HSLhsl(69, 62%, 29%)
HSVhsv(69, 76%, 47%)
CMYKcmyk(10.9%, 0%, 76.5%, 53.3%)
CIE-LABlab(47.42, -17.40, 45.27)
CIE-LCHlch(47.42, 48.50, 111.03°)
OKLaboklab(54.08% -0.0522 0.1002)
OKLCHoklch(54.08% 0.113 117.5)
XYZxyz(12.7506, 16.3418, 3.5810)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A771C #291C77
analogous
#77571C #6A771C #3D771C
triadic
#6A771C #1C6A77 #771C6A
tetradic
#6A771C #1C7757 #291C77 #771C3D
square
#6A771C #1C7757 #291C77 #771C3D
split-complementary
#6A771C #1C3D77 #571C77
monochromatic
#161906 #3E4510 #6A771C #96A928 #BCD13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A771C#FFFFFF#000000##FFFFFF
##6A771C1.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)
#7F7009
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#717066
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6a771c;
/* rgb */ color: rgb(106, 119, 28);
/* oklch */ color: oklch(54.1% 0.113 117.5);
Tailwind
colors: {
  custom: {
    50: '#979e60',
    500: '#6a771c',
    950: '#000000',
  },
}
SCSS
$custom: #6a771c;
$custom-light: #979e60;
$custom-dark: #000000;
JSON
{
  "hex": "#6a771c",
  "rgb": {
    "r": 106,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 68.571,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54077,
    "c": 0.11298,
    "h": 117.5
  },
  "luminance": 0.16342
}

Semantic roles & 50–950 ramp

primary
#6A771C
secondary
#5244AB
accent
#43E55A
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A771C

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

Preview Lab → · Contrast checker → · Palette generator →

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