#68811F#68811F

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

Color values

HEX#68811F
RGBrgb(104, 129, 31)
HSLhsl(75, 61%, 31%)
HSVhsv(75, 76%, 51%)
CMYKcmyk(19.4%, 0%, 76%, 49.4%)
CIE-LABlab(50.38, -23.30, 46.95)
CIE-LCHlch(50.38, 52.42, 116.39°)
OKLaboklab(56.44% -0.0681 0.1043)
OKLCHoklch(56.44% 0.125 123.1)
XYZxyz(13.8067, 18.7424, 4.1863)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68811F #381F81
analogous
#81691F #68811F #37811F
triadic
#68811F #1F6881 #811F68
tetradic
#68811F #1F8169 #381F81 #811F37
square
#68811F #1F8169 #381F81 #811F37
split-complementary
#68811F #1F3781 #691F81
monochromatic
#181E07 #405013 #68811F #90B22B #AFD347

Accessibility & contrast

On white

4.42
#68811F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##68811F#FFFFFF#000000##000000
##68811F1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790B
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#6E7A6E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #68811f;
/* rgb */ color: rgb(104, 129, 31);
/* oklch */ color: oklch(56.4% 0.125 123.1);
Tailwind
colors: {
  custom: {
    50: '#96a562',
    500: '#68811f',
    950: '#000000',
  },
}
SCSS
$custom: #68811f;
$custom-light: #96a562;
$custom-dark: #000000;
JSON
{
  "hex": "#68811f",
  "rgb": {
    "r": 104,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 75.306,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56435,
    "c": 0.12458,
    "h": 123.1
  },
  "luminance": 0.18742
}

Semantic roles & 50–950 ramp

primary
#68811F
secondary
#6348B4
accent
#43E46C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #68811F

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

Preview Lab → · Contrast checker → · Palette generator →

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