#6E771C#6E771C

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

Color values

HEX#6E771C
RGBrgb(110, 119, 28)
HSLhsl(66, 62%, 29%)
HSVhsv(66, 76%, 47%)
CMYKcmyk(7.6%, 0%, 76.5%, 53.3%)
CIE-LABlab(47.74, -15.58, 45.69)
CIE-LCHlch(47.74, 48.27, 108.83°)
OKLaboklab(54.42% -0.0474 0.101)
OKLCHoklch(54.42% 0.112 115.2)
XYZxyz(13.2372, 16.5927, 3.6038)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E771C #251C77
analogous
#77531C #6E771C #41771C
triadic
#6E771C #1C6E77 #771C6E
tetradic
#6E771C #1C7753 #251C77 #771C41
square
#6E771C #1C7753 #251C77 #771C41
split-complementary
#6E771C #1C4177 #531C77
monochromatic
#171906 #404510 #6E771C #9CA928 #C2D13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E771C#FFFFFF#000000##FFFFFF
##6E771C1.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)
#807109
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#767066
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6e771c;
/* rgb */ color: rgb(110, 119, 28);
/* oklch */ color: oklch(54.4% 0.112 115.2);
Tailwind
colors: {
  custom: {
    50: '#9a9e60',
    500: '#6e771c',
    950: '#000000',
  },
}
SCSS
$custom: #6e771c;
$custom-light: #9a9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#6e771c",
  "rgb": {
    "r": 110,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 65.934,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54417,
    "c": 0.11153,
    "h": 115.2
  },
  "luminance": 0.16592
}

Semantic roles & 50–950 ramp

primary
#6E771C
secondary
#4E44AB
accent
#43E553
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6E771C

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

Preview Lab → · Contrast checker → · Palette generator →

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