#68821B#68821B

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

Color values

HEX#68821B
RGBrgb(104, 130, 27)
HSLhsl(75, 66%, 31%)
HSVhsv(75, 79%, 51%)
CMYKcmyk(20%, 0%, 79.2%, 49%)
CIE-LABlab(50.67, -24.02, 48.63)
CIE-LCHlch(50.67, 54.24, 116.28°)
OKLaboklab(56.66% -0.0704 0.1072)
OKLCHoklch(56.66% 0.128 123.3)
XYZxyz(13.8896, 18.9874, 3.9699)
Luminance0.1899 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68821B #351B82
analogous
#82681B #68821B #34821B
triadic
#68821B #1B6882 #821B68
tetradic
#68821B #1B8268 #351B82 #821B34
square
#68821B #1B8268 #351B82 #821B34
split-complementary
#68821B #1B3482 #681B82
monochromatic
#171D06 #3F4F10 #68821B #91B526 #B1D740

Accessibility & contrast

On white

4.38
#68821B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##68821B#FFFFFF#000000##000000
##68821B1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7901
Deuteranopia (green-blind)
#877825
Tritanopia (blue-blind)
#6E7B6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #68821b;
/* rgb */ color: rgb(104, 130, 27);
/* oklch */ color: oklch(56.7% 0.128 123.3);
Tailwind
colors: {
  custom: {
    50: '#96a661',
    500: '#68821b',
    950: '#000000',
  },
}
SCSS
$custom: #68821b;
$custom-light: #96a661;
$custom-dark: #000000;
JSON
{
  "hex": "#68821b",
  "rgb": {
    "r": 104,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 75.146,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5666,
    "c": 0.12822,
    "h": 123.3
  },
  "luminance": 0.18987
}

Semantic roles & 50–950 ramp

primary
#68821B
secondary
#6043B6
accent
#3FE96A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #68821B

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

Preview Lab → · Contrast checker → · Palette generator →

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