#68871A#68871A

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

Color values

HEX#68871A
RGBrgb(104, 135, 26)
HSLhsl(77, 68%, 32%)
HSVhsv(77, 81%, 53%)
CMYKcmyk(23%, 0%, 80.7%, 47.1%)
CIE-LABlab(52.23, -26.55, 50.39)
CIE-LCHlch(52.23, 56.96, 117.78°)
OKLaboklab(57.92% -0.0773 0.1107)
OKLCHoklch(57.92% 0.135 124.9)
XYZxyz(14.5595, 20.3454, 4.1371)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68871A #391A87
analogous
#87701A #68871A #32871A
triadic
#68871A #1A6887 #871A68
tetradic
#68871A #1A8770 #391A87 #871A32
square
#68871A #1A8770 #391A87 #871A32
split-complementary
#68871A #1A3287 #701A87
monochromatic
#192006 #405410 #68871A #90BA24 #AFDA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##68871A#FFFFFF#000000##000000
##68871A1.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)
#8B7C25
Tritanopia (blue-blind)
#6D8073
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #68871a;
/* rgb */ color: rgb(104, 135, 26);
/* oklch */ color: oklch(57.9% 0.135 124.9);
Tailwind
colors: {
  custom: {
    50: '#97aa61',
    500: '#68871a',
    950: '#000000',
  },
}
SCSS
$custom: #68871a;
$custom-light: #97aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#68871a",
  "rgb": {
    "r": 104,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 77.064,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57916,
    "c": 0.13506,
    "h": 124.9
  },
  "luminance": 0.20346
}

Semantic roles & 50–950 ramp

primary
#68871A
secondary
#6542BA
accent
#3DEB6F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #68871A

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

Preview Lab → · Contrast checker → · Palette generator →

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