#68811C#68811C

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

Color values

HEX#68811C
RGBrgb(104, 129, 28)
HSLhsl(75, 64%, 31%)
HSVhsv(75, 78%, 51%)
CMYKcmyk(19.4%, 0%, 78.3%, 49.4%)
CIE-LABlab(50.37, -23.47, 48.01)
CIE-LCHlch(50.37, 53.44, 116.05°)
OKLaboklab(56.42% -0.0688 0.106)
OKLCHoklch(56.42% 0.126 123)
XYZxyz(13.7690, 18.7273, 3.9877)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68811C #351C81
analogous
#81671C #68811C #36811C
triadic
#68811C #1C6881 #811C68
tetradic
#68811C #1C8167 #351C81 #811C36
square
#68811C #1C8167 #351C81 #811C36
split-complementary
#68811C #1C3681 #671C81
monochromatic
#171C06 #3F4F11 #68811C #91B327 #B1D642

Accessibility & contrast

On white

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

On black

4.75
#68811C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #68811C
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68811C#FFFFFF#000000##000000
##68811C1.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68811c;
/* rgb */ color: rgb(104, 129, 28);
/* oklch */ color: oklch(56.4% 0.126 123.0);
Tailwind
colors: {
  custom: {
    50: '#96a561',
    500: '#68811c',
    950: '#000000',
  },
}
SCSS
$custom: #68811c;
$custom-light: #96a561;
$custom-dark: #000000;
JSON
{
  "hex": "#68811c",
  "rgb": {
    "r": 104,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 74.851,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56415,
    "c": 0.12638,
    "h": 123
  },
  "luminance": 0.18727
}

Semantic roles & 50–950 ramp

primary
#68811C
secondary
#6044B4
accent
#40E76A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #68811C

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

Preview Lab → · Contrast checker → · Palette generator →

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