#68871F#68871F

#68871F is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.9% C 0.132 H 125.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#68871F
RGBrgb(104, 135, 31)
HSLhsl(78, 63%, 33%)
HSVhsv(78, 77%, 53%)
CMYKcmyk(23%, 0%, 77%, 47.1%)
CIE-LABlab(52.25, -26.29, 48.75)
CIE-LCHlch(52.25, 55.38, 118.34°)
OKLaboklab(57.95% -0.0762 0.1081)
OKLCHoklch(57.95% 0.132 125.2)
XYZxyz(14.6203, 20.3697, 4.4576)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68871F #3E1F87
analogous
#87721F #68871F #34871F
triadic
#68871F #1F6887 #871F68
tetradic
#68871F #1F8772 #3E1F87 #871F34
square
#68871F #1F8772 #3E1F87 #871F34
split-complementary
#68871F #1F3487 #721F87
monochromatic
#1B2308 #425514 #68871F #8EB92A #ACD64B

Accessibility & contrast

On white

4.14
#68871F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#68871F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #68871F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68871F#FFFFFF#000000##000000
##68871F1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E07
Deuteranopia (green-blind)
#8B7C29
Tritanopia (blue-blind)
#6D8073
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #68871f;
/* rgb */ color: rgb(104, 135, 31);
/* oklch */ color: oklch(57.9% 0.132 125.2);
Tailwind
colors: {
  custom: {
    50: '#96aa63',
    500: '#68871f',
    950: '#000000',
  },
}
SCSS
$custom: #68871f;
$custom-light: #96aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#68871f",
  "rgb": {
    "r": 104,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 77.885,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57946,
    "c": 0.13229,
    "h": 125.2
  },
  "luminance": 0.2037
}

Semantic roles & 50–950 ramp

primary
#68871F
secondary
#6B4AB8
accent
#42E673
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #68871F

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

Preview Lab → · Contrast checker → · Palette generator →

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