#6A771E#6A771E

#6A771E is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.1% C 0.112 H 117.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#6A771E
RGBrgb(106, 119, 30)
HSLhsl(69, 60%, 29%)
HSVhsv(69, 75%, 47%)
CMYKcmyk(10.9%, 0%, 74.8%, 53.3%)
CIE-LABlab(47.43, -17.29, 44.52)
CIE-LCHlch(47.43, 47.76, 111.23°)
OKLaboklab(54.09% -0.0517 0.099)
OKLCHoklch(54.09% 0.112 117.6)
XYZxyz(12.7753, 16.3517, 3.7112)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A771E #2B1E77
analogous
#77581E #6A771E #3E771E
triadic
#6A771E #1E6A77 #771E6A
tetradic
#6A771E #1E7758 #2B1E77 #771E3E
square
#6A771E #1E7758 #2B1E77 #771E3E
split-complementary
#6A771E #1E3E77 #581E77
monochromatic
#161806 #3E4612 #6A771E #96A82A #BACF40

Accessibility & contrast

On white

4.92
#6A771E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#6A771E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A771E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A771E#FFFFFF#000000##FFFFFF
##6A771E1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a771e;
/* rgb */ color: rgb(106, 119, 30);
/* oklch */ color: oklch(54.1% 0.112 117.6);
Tailwind
colors: {
  custom: {
    50: '#979e61',
    500: '#6a771e',
    950: '#000000',
  },
}
SCSS
$custom: #6a771e;
$custom-light: #979e61;
$custom-dark: #000000;
JSON
{
  "hex": "#6a771e",
  "rgb": {
    "r": 106,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 68.764,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54091,
    "c": 0.11169,
    "h": 117.6
  },
  "luminance": 0.16352
}

Semantic roles & 50–950 ramp

primary
#6A771E
secondary
#5546AB
accent
#45E35C
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A771E

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

Preview Lab → · Contrast checker → · Palette generator →

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