#6D771B#6D771B

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

Color values

HEX#6D771B
RGBrgb(109, 119, 27)
HSLhsl(67, 63%, 29%)
HSVhsv(67, 77%, 47%)
CMYKcmyk(8.4%, 0%, 77.3%, 53.3%)
CIE-LABlab(47.65, -16.09, 45.94)
CIE-LCHlch(47.65, 48.68, 109.30°)
OKLaboklab(54.32% -0.0488 0.1013)
OKLCHoklch(54.32% 0.112 115.7)
XYZxyz(13.1017, 16.5242, 3.5360)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D771B #251B77
analogous
#77531B #6D771B #3F771B
triadic
#6D771B #1B6D77 #771B6D
tetradic
#6D771B #1B7753 #251B77 #771B3F
square
#6D771B #1B7753 #251B77 #771B3F
split-complementary
#6D771B #1B3F77 #531B77
monochromatic
#171906 #3F4510 #6D771B #9BA926 #C2D23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D771B#FFFFFF#000000##FFFFFF
##6D771B1.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)
#807107
Deuteranopia (green-blind)
#7F7223
Tritanopia (blue-blind)
#747066
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6d771b;
/* rgb */ color: rgb(109, 119, 27);
/* oklch */ color: oklch(54.3% 0.112 115.7);
Tailwind
colors: {
  custom: {
    50: '#9a9e5f',
    500: '#6d771b',
    950: '#000000',
  },
}
SCSS
$custom: #6d771b;
$custom-light: #9a9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d771b",
  "rgb": {
    "r": 109,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 66.522,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54324,
    "c": 0.11249,
    "h": 115.7
  },
  "luminance": 0.16524
}

Semantic roles & 50–950 ramp

primary
#6D771B
secondary
#4E42AB
accent
#42E654
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D771B

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

Preview Lab → · Contrast checker → · Palette generator →

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