#68771F#68771F

#68771F is a mid, moderate yellow-green. Relative luminance 0.162; OKLCH L 53.9% C 0.112 H 118.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#68771F
RGBrgb(104, 119, 31)
HSLhsl(70, 59%, 29%)
HSVhsv(70, 74%, 47%)
CMYKcmyk(12.6%, 0%, 73.9%, 53.3%)
CIE-LABlab(47.28, -18.14, 43.93)
CIE-LCHlch(47.28, 47.53, 112.44°)
OKLaboklab(53.93% -0.0538 0.098)
OKLCHoklch(53.93% 0.112 118.8)
XYZxyz(12.5533, 16.2357, 3.7686)
Luminance0.1624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68771F #2E1F77
analogous
#775A1F #68771F #3C771F
triadic
#68771F #1F6877 #771F68
tetradic
#68771F #1F775A #2E1F77 #771F3C
square
#68771F #1F775A #2E1F77 #771F3C
split-complementary
#68771F #1F3C77 #5A1F77
monochromatic
#151806 #3E4612 #68771F #92A82C #B6CE43

Accessibility & contrast

On white

4.94
#68771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#68771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #68771F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68771F#FFFFFF#000000##FFFFFF
##68771F1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7010
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#6E7066
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #68771f;
/* rgb */ color: rgb(104, 119, 31);
/* oklch */ color: oklch(53.9% 0.112 118.8);
Tailwind
colors: {
  custom: {
    50: '#969e61',
    500: '#68771f',
    950: '#000000',
  },
}
SCSS
$custom: #68771f;
$custom-light: #969e61;
$custom-dark: #000000;
JSON
{
  "hex": "#68771f",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 70.227,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53933,
    "c": 0.1118,
    "h": 118.8
  },
  "luminance": 0.16236
}

Semantic roles & 50–950 ramp

primary
#68771F
secondary
#5847AB
accent
#46E261
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #68771F

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

Preview Lab → · Contrast checker → · Palette generator →

#68771F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva