#667828#667828

#667828 is a mid, moderate yellow-green. Relative luminance 0.164; OKLCH L 54.1% C 0.107 H 120.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#667828
RGBrgb(102, 120, 40)
HSLhsl(74, 50%, 31%)
HSVhsv(74, 67%, 47%)
CMYKcmyk(15%, 0%, 66.7%, 52.9%)
CIE-LABlab(47.51, -18.94, 40.29)
CIE-LCHlch(47.51, 44.52, 115.18°)
OKLaboklab(54.1% -0.055 0.0919)
OKLCHoklch(54.1% 0.107 120.9)
XYZxyz(12.5791, 16.4109, 4.5120)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667828 #3A2878
analogous
#786228 #667828 #3E7828
triadic
#667828 #286678 #782866
tetradic
#667828 #287862 #3A2878 #78283E
square
#667828 #287862 #3A2878 #78283E
split-complementary
#667828 #283E78 #622878
monochromatic
#181C09 #3F4A19 #667828 #8DA637 #ACC654

Accessibility & contrast

On white

4.90
#667828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#667828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #667828
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667828#FFFFFF#000000##FFFFFF
##6678281.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711E
Deuteranopia (green-blind)
#7D712E
Tritanopia (blue-blind)
#6C7267
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #667828;
/* rgb */ color: rgb(102, 120, 40);
/* oklch */ color: oklch(54.1% 0.107 120.9);
Tailwind
colors: {
  custom: {
    50: '#949f66',
    500: '#667828',
    950: '#000000',
  },
}
SCSS
$custom: #667828;
$custom-light: #949f66;
$custom-dark: #000000;
JSON
{
  "hex": "#667828",
  "rgb": {
    "r": 102,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 73.5,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54099,
    "c": 0.10707,
    "h": 120.9
  },
  "luminance": 0.16411
}

Semantic roles & 50–950 ramp

primary
#667828
secondary
#6652AA
accent
#4EDA6E
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0E06
muted
#7E7E7A

Preview Lab

Preview with #667828

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

Preview Lab → · Contrast checker → · Palette generator →

#667828 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva