#68871D#68871D

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

Color values

HEX#68871D
RGBrgb(104, 135, 29)
HSLhsl(78, 65%, 32%)
HSVhsv(78, 79%, 53%)
CMYKcmyk(23%, 0%, 78.5%, 47.1%)
CIE-LABlab(52.24, -26.40, 49.43)
CIE-LCHlch(52.24, 56.04, 118.10°)
OKLaboklab(57.93% -0.0767 0.1092)
OKLCHoklch(57.93% 0.133 125.1)
XYZxyz(14.5948, 20.3595, 4.3230)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68871D #3C1D87
analogous
#87711D #68871D #33871D
triadic
#68871D #1D6887 #871D68
tetradic
#68871D #1D8771 #3C1D87 #871D33
square
#68871D #1D8771 #3C1D87 #871D33
split-complementary
#68871D #1D3387 #711D87
monochromatic
#1A2207 #415512 #68871D #8FB928 #ADD747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##68871D#FFFFFF#000000##000000
##68871D1.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)
#8F7E02
Deuteranopia (green-blind)
#8B7C27
Tritanopia (blue-blind)
#6D8073
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #68871d;
/* rgb */ color: rgb(104, 135, 29);
/* oklch */ color: oklch(57.9% 0.133 125.1);
Tailwind
colors: {
  custom: {
    50: '#97aa62',
    500: '#68871d',
    950: '#000000',
  },
}
SCSS
$custom: #68871d;
$custom-light: #97aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#68871d",
  "rgb": {
    "r": 104,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 77.547,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57933,
    "c": 0.13344,
    "h": 125.1
  },
  "luminance": 0.2036
}

Semantic roles & 50–950 ramp

primary
#68871D
secondary
#6846B9
accent
#40E871
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #68871D

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

Preview Lab → · Contrast checker → · Palette generator →

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