#6B771E#6B771E

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

Color values

HEX#6B771E
RGBrgb(107, 119, 30)
HSLhsl(68, 60%, 29%)
HSVhsv(68, 75%, 47%)
CMYKcmyk(10.1%, 0%, 74.8%, 53.3%)
CIE-LABlab(47.51, -16.84, 44.63)
CIE-LCHlch(47.51, 47.70, 110.67°)
OKLaboklab(54.18% -0.0505 0.0992)
OKLCHoklch(54.18% 0.111 117)
XYZxyz(12.8949, 16.4133, 3.7168)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B771E #2A1E77
analogous
#77571E #6B771E #3F771E
triadic
#6B771E #1E6B77 #771E6B
tetradic
#6B771E #1E7757 #2A1E77 #771E3F
square
#6B771E #1E7757 #2A1E77 #771E3F
split-complementary
#6B771E #1E3F77 #571E77
monochromatic
#161806 #3F4612 #6B771E #97A82A #BCCF40

Accessibility & contrast

On white

4.90
#6B771E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6B771E
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B771E#FFFFFF#000000##FFFFFF
##6B771E1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b771e;
/* rgb */ color: rgb(107, 119, 30);
/* oklch */ color: oklch(54.2% 0.111 117.0);
Tailwind
colors: {
  custom: {
    50: '#989e61',
    500: '#6b771e',
    950: '#000000',
  },
}
SCSS
$custom: #6b771e;
$custom-light: #989e61;
$custom-dark: #000000;
JSON
{
  "hex": "#6b771e",
  "rgb": {
    "r": 107,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 68.09,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54175,
    "c": 0.11131,
    "h": 117
  },
  "luminance": 0.16413
}

Semantic roles & 50–950 ramp

primary
#6B771E
secondary
#5446AB
accent
#45E35A
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B771E

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

Preview Lab → · Contrast checker → · Palette generator →

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