#6F771B#6F771B

#6F771B is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.5% C 0.112 H 114.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#6F771B
RGBrgb(111, 119, 27)
HSLhsl(65, 63%, 29%)
HSVhsv(65, 77%, 47%)
CMYKcmyk(6.7%, 0%, 77.3%, 53.3%)
CIE-LABlab(47.82, -15.17, 46.15)
CIE-LCHlch(47.82, 48.58, 108.20°)
OKLaboklab(54.5% -0.0464 0.1017)
OKLCHoklch(54.5% 0.112 114.5)
XYZxyz(13.3506, 16.6525, 3.5477)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F771B #231B77
analogous
#77511B #6F771B #41771B
triadic
#6F771B #1B6F77 #771B6F
tetradic
#6F771B #1B7751 #231B77 #771B41
square
#6F771B #1B7751 #231B77 #771B41
split-complementary
#6F771B #1B4177 #511B77
monochromatic
#171906 #404510 #6F771B #9EA926 #C5D23A

Accessibility & contrast

On white

4.85
#6F771B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#6F771B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F771B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F771B#FFFFFF#000000##FFFFFF
##6F771B1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807107
Deuteranopia (green-blind)
#807223
Tritanopia (blue-blind)
#777066
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6f771b;
/* rgb */ color: rgb(111, 119, 27);
/* oklch */ color: oklch(54.5% 0.112 114.5);
Tailwind
colors: {
  custom: {
    50: '#9b9e5f',
    500: '#6f771b',
    950: '#000000',
  },
}
SCSS
$custom: #6f771b;
$custom-light: #9b9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f771b",
  "rgb": {
    "r": 111,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 65.217,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54497,
    "c": 0.11181,
    "h": 114.5
  },
  "luminance": 0.16652
}

Semantic roles & 50–950 ramp

primary
#6F771B
secondary
#4C42AB
accent
#42E650
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6F771B

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

Preview Lab → · Contrast checker → · Palette generator →

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