#6E771F#6E771F

#6E771F is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.4% C 0.110 H 115.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#6E771F
RGBrgb(110, 119, 31)
HSLhsl(66, 59%, 29%)
HSVhsv(66, 74%, 47%)
CMYKcmyk(7.6%, 0%, 73.9%, 53.3%)
CIE-LABlab(47.76, -15.42, 44.56)
CIE-LCHlch(47.76, 47.15, 109.08°)
OKLaboklab(54.44% -0.0467 0.0991)
OKLCHoklch(54.44% 0.11 115.2)
XYZxyz(13.2749, 16.6078, 3.8024)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E771F #281F77
analogous
#77541F #6E771F #42771F
triadic
#6E771F #1F6E77 #771F6E
tetradic
#6E771F #1F7754 #281F77 #771F42
square
#6E771F #1F7754 #281F77 #771F42
split-complementary
#6E771F #1F4277 #541F77
monochromatic
#161806 #414612 #6E771F #9BA82C #C0CE43

Accessibility & contrast

On white

4.86
#6E771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#6E771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E771F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E771F#FFFFFF#000000##FFFFFF
##6E771F1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710F
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#757066
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6e771f;
/* rgb */ color: rgb(110, 119, 31);
/* oklch */ color: oklch(54.4% 0.110 115.2);
Tailwind
colors: {
  custom: {
    50: '#9a9e61',
    500: '#6e771f',
    950: '#000000',
  },
}
SCSS
$custom: #6e771f;
$custom-light: #9a9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#6e771f",
  "rgb": {
    "r": 110,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 66.136,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54438,
    "c": 0.10956,
    "h": 115.2
  },
  "luminance": 0.16608
}

Semantic roles & 50–950 ramp

primary
#6E771F
secondary
#5147AB
accent
#46E256
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6E771F

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

Preview Lab → · Contrast checker → · Palette generator →

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