#68821F#68821F

#68821F is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.7% C 0.126 H 123.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#68821F
RGBrgb(104, 130, 31)
HSLhsl(76, 61%, 32%)
HSVhsv(76, 76%, 51%)
CMYKcmyk(20%, 0%, 76.2%, 49%)
CIE-LABlab(50.70, -23.81, 47.25)
CIE-LCHlch(50.70, 52.91, 116.74°)
OKLaboklab(56.69% -0.0694 0.105)
OKLCHoklch(56.69% 0.126 123.5)
XYZxyz(13.9390, 19.0072, 4.2305)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68821F #391F82
analogous
#826B1F #68821F #36821F
triadic
#68821F #1F6882 #821F68
tetradic
#68821F #1F826B #391F82 #821F36
square
#68821F #1F826B #391F82 #821F36
split-complementary
#68821F #1F3682 #6B1F82
monochromatic
#191F07 #405113 #68821F #90B32B #AFD348

Accessibility & contrast

On white

4.37
#68821F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#68821F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #68821F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68821F#FFFFFF#000000##000000
##68821F1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A790A
Deuteranopia (green-blind)
#867928
Tritanopia (blue-blind)
#6D7B6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #68821f;
/* rgb */ color: rgb(104, 130, 31);
/* oklch */ color: oklch(56.7% 0.126 123.5);
Tailwind
colors: {
  custom: {
    50: '#96a663',
    500: '#68821f',
    950: '#000000',
  },
}
SCSS
$custom: #68821f;
$custom-light: #96a663;
$custom-dark: #000000;
JSON
{
  "hex": "#68821f",
  "rgb": {
    "r": 104,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 75.758,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56686,
    "c": 0.12587,
    "h": 123.5
  },
  "luminance": 0.19007
}

Semantic roles & 50–950 ramp

primary
#68821F
secondary
#6548B5
accent
#43E56E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #68821F

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

Preview Lab → · Contrast checker → · Palette generator →

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