#6B771C#6B771C

#6B771C is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.2% C 0.113 H 116.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#6B771C
RGBrgb(107, 119, 28)
HSLhsl(68, 62%, 29%)
HSVhsv(68, 76%, 47%)
CMYKcmyk(10.1%, 0%, 76.5%, 53.3%)
CIE-LABlab(47.50, -16.95, 45.37)
CIE-LCHlch(47.50, 48.43, 110.49°)
OKLaboklab(54.16% -0.051 0.1004)
OKLCHoklch(54.16% 0.113 116.9)
XYZxyz(12.8701, 16.4035, 3.5866)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B771C #281C77
analogous
#77561C #6B771C #3E771C
triadic
#6B771C #1C6B77 #771C6B
tetradic
#6B771C #1C7756 #281C77 #771C3E
square
#6B771C #1C7756 #281C77 #771C3E
split-complementary
#6B771C #1C3E77 #561C77
monochromatic
#161906 #3E4510 #6B771C #98A928 #BED13C

Accessibility & contrast

On white

4.91
#6B771C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#6B771C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B771C
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B771C#FFFFFF#000000##FFFFFF
##6B771C1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807009
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#727066
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6b771c;
/* rgb */ color: rgb(107, 119, 28);
/* oklch */ color: oklch(54.2% 0.113 116.9);
Tailwind
colors: {
  custom: {
    50: '#989e60',
    500: '#6b771c',
    950: '#000000',
  },
}
SCSS
$custom: #6b771c;
$custom-light: #989e60;
$custom-dark: #000000;
JSON
{
  "hex": "#6b771c",
  "rgb": {
    "r": 107,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 67.912,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54161,
    "c": 0.1126,
    "h": 116.9
  },
  "luminance": 0.16403
}

Semantic roles & 50–950 ramp

primary
#6B771C
secondary
#5144AB
accent
#43E558
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B771C

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

Preview Lab → · Contrast checker → · Palette generator →

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