#68811B#68811B

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

Color values

HEX#68811B
RGBrgb(104, 129, 27)
HSLhsl(75, 65%, 31%)
HSVhsv(75, 79%, 51%)
CMYKcmyk(19.4%, 0%, 79.1%, 49.4%)
CIE-LABlab(50.36, -23.52, 48.34)
CIE-LCHlch(50.36, 53.76, 115.94°)
OKLaboklab(56.41% -0.069 0.1066)
OKLCHoklch(56.41% 0.127 122.9)
XYZxyz(13.7572, 18.7226, 3.9258)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68811B #341B81
analogous
#81671B #68811B #35811B
triadic
#68811B #1B6881 #811B68
tetradic
#68811B #1B8167 #341B81 #811B35
square
#68811B #1B8167 #341B81 #811B35
split-complementary
#68811B #1B3581 #671B81
monochromatic
#161C06 #3F4E10 #68811B #91B426 #B2D73F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##68811B#FFFFFF#000000##000000
##68811B1.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)
#897901
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#6E7A6E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #68811b;
/* rgb */ color: rgb(104, 129, 27);
/* oklch */ color: oklch(56.4% 0.127 122.9);
Tailwind
colors: {
  custom: {
    50: '#96a560',
    500: '#68811b',
    950: '#000000',
  },
}
SCSS
$custom: #68811b;
$custom-light: #96a560;
$custom-dark: #000000;
JSON
{
  "hex": "#68811b",
  "rgb": {
    "r": 104,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 74.706,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56408,
    "c": 0.12695,
    "h": 122.9
  },
  "luminance": 0.18723
}

Semantic roles & 50–950 ramp

primary
#68811B
secondary
#5F43B5
accent
#3FE869
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #68811B

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

Preview Lab → · Contrast checker → · Palette generator →

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