#6F771C#6F771C

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

Color values

HEX#6F771C
RGBrgb(111, 119, 28)
HSLhsl(65, 62%, 29%)
HSVhsv(65, 76%, 47%)
CMYKcmyk(6.7%, 0%, 76.5%, 53.3%)
CIE-LABlab(47.83, -15.12, 45.79)
CIE-LCHlch(47.83, 48.23, 108.27°)
OKLaboklab(54.5% -0.0462 0.1011)
OKLCHoklch(54.5% 0.111 114.5)
XYZxyz(13.3624, 16.6572, 3.6096)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F771C #241C77
analogous
#77521C #6F771C #42771C
triadic
#6F771C #1C6F77 #771C6F
tetradic
#6F771C #1C7752 #241C77 #771C42
square
#6F771C #1C7752 #241C77 #771C42
split-complementary
#6F771C #1C4277 #521C77
monochromatic
#171906 #414510 #6F771C #9DA928 #C4D13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F771C#FFFFFF#000000##FFFFFF
##6F771C1.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)
#807109
Deuteranopia (green-blind)
#807224
Tritanopia (blue-blind)
#777066
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6f771c;
/* rgb */ color: rgb(111, 119, 28);
/* oklch */ color: oklch(54.5% 0.111 114.5);
Tailwind
colors: {
  custom: {
    50: '#9b9e60',
    500: '#6f771c',
    950: '#000000',
  },
}
SCSS
$custom: #6f771c;
$custom-light: #9b9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#6f771c",
  "rgb": {
    "r": 111,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 65.275,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54503,
    "c": 0.11119,
    "h": 114.5
  },
  "luminance": 0.16657
}

Semantic roles & 50–950 ramp

primary
#6F771C
secondary
#4D44AB
accent
#43E551
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6F771C

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

Preview Lab → · Contrast checker → · Palette generator →

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