#6F771F#6F771F

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

Color values

HEX#6F771F
RGBrgb(111, 119, 31)
HSLhsl(65, 59%, 29%)
HSVhsv(65, 74%, 47%)
CMYKcmyk(6.7%, 0%, 73.9%, 53.3%)
CIE-LABlab(47.84, -14.96, 44.67)
CIE-LCHlch(47.84, 47.11, 108.52°)
OKLaboklab(54.53% -0.0454 0.0993)
OKLCHoklch(54.53% 0.109 114.6)
XYZxyz(13.4001, 16.6723, 3.8082)
Luminance0.1667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F771F #271F77
analogous
#77531F #6F771F #43771F
triadic
#6F771F #1F6F77 #771F6F
tetradic
#6F771F #1F7753 #271F77 #771F43
square
#6F771F #1F7753 #271F77 #771F43
split-complementary
#6F771F #1F4377 #531F77
monochromatic
#171806 #424612 #6F771F #9CA82C #C1CE43

Accessibility & contrast

On white

4.84
#6F771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6F771F
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F771F#FFFFFF#000000##FFFFFF
##6F771F1.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f771f;
/* rgb */ color: rgb(111, 119, 31);
/* oklch */ color: oklch(54.5% 0.109 114.6);
Tailwind
colors: {
  custom: {
    50: '#9b9e61',
    500: '#6f771f',
    950: '#000000',
  },
}
SCSS
$custom: #6f771f;
$custom-light: #9b9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#6f771f",
  "rgb": {
    "r": 111,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 65.455,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54525,
    "c": 0.10923,
    "h": 114.6
  },
  "luminance": 0.16672
}

Semantic roles & 50–950 ramp

primary
#6F771F
secondary
#5047AB
accent
#46E254
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A

Preview Lab

Preview with #6F771F

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

Preview Lab → · Contrast checker → · Palette generator →

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