#68811A#68811A

#68811A is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.4% C 0.128 H 122.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#68811A
RGBrgb(104, 129, 26)
HSLhsl(75, 66%, 30%)
HSVhsv(75, 80%, 51%)
CMYKcmyk(19.4%, 0%, 79.8%, 49.4%)
CIE-LABlab(50.36, -23.57, 48.67)
CIE-LCHlch(50.36, 54.08, 115.84°)
OKLaboklab(56.4% -0.0692 0.1071)
OKLCHoklch(56.4% 0.128 122.9)
XYZxyz(13.7458, 18.7181, 3.8659)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68811A #331A81
analogous
#81661A #68811A #34811A
triadic
#68811A #1A6881 #811A68
tetradic
#68811A #1A8166 #331A81 #811A34
square
#68811A #1A8166 #331A81 #811A34
split-complementary
#68811A #1A3481 #661A81
monochromatic
#161B05 #3F4E10 #68811A #91B424 #B2D83D

Accessibility & contrast

On white

4.43
#68811A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#68811A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #68811A
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68811A#FFFFFF#000000##000000
##68811A1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#6E7A6E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #68811a;
/* rgb */ color: rgb(104, 129, 26);
/* oklch */ color: oklch(56.4% 0.128 122.9);
Tailwind
colors: {
  custom: {
    50: '#96a560',
    500: '#68811a',
    950: '#000000',
  },
}
SCSS
$custom: #68811a;
$custom-light: #96a560;
$custom-dark: #000000;
JSON
{
  "hex": "#68811a",
  "rgb": {
    "r": 104,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 74.563,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56402,
    "c": 0.1275,
    "h": 122.9
  },
  "luminance": 0.18718
}

Semantic roles & 50–950 ramp

primary
#68811A
secondary
#5E42B5
accent
#3EE968
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #68811A

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

Preview Lab → · Contrast checker → · Palette generator →

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