#68871C#68871C

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

Color values

HEX#68871C
RGBrgb(104, 135, 28)
HSLhsl(77, 66%, 32%)
HSVhsv(77, 79%, 53%)
CMYKcmyk(23%, 0%, 79.3%, 47.1%)
CIE-LABlab(52.24, -26.45, 49.76)
CIE-LCHlch(52.24, 56.35, 117.99°)
OKLaboklab(57.93% -0.0769 0.1097)
OKLCHoklch(57.93% 0.134 125)
XYZxyz(14.5826, 20.3547, 4.2590)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68871C #3B1C87
analogous
#87711C #68871C #33871C
triadic
#68871C #1C6887 #871C68
tetradic
#68871C #1C8771 #3B1C87 #871C33
square
#68871C #1C8771 #3B1C87 #871C33
split-complementary
#68871C #1C3387 #711C87
monochromatic
#1A2207 #415411 #68871C #8FBA27 #AED845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #68871c;
/* rgb */ color: rgb(104, 135, 28);
/* oklch */ color: oklch(57.9% 0.134 125.0);
Tailwind
colors: {
  custom: {
    50: '#97aa62',
    500: '#68871c',
    950: '#000000',
  },
}
SCSS
$custom: #68871c;
$custom-light: #97aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#68871c",
  "rgb": {
    "r": 104,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 77.383,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57927,
    "c": 0.134,
    "h": 125
  },
  "luminance": 0.20355
}

Semantic roles & 50–950 ramp

primary
#68871C
secondary
#6745BA
accent
#3FE970
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #68871C

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

Preview Lab → · Contrast checker → · Palette generator →

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