#647828#647828

#647828 is a mid, moderate yellow-green. Relative luminance 0.163; OKLCH L 53.9% C 0.108 H 122.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#647828
RGBrgb(100, 120, 40)
HSLhsl(75, 50%, 31%)
HSVhsv(75, 67%, 47%)
CMYKcmyk(16.7%, 0%, 66.7%, 52.9%)
CIE-LABlab(47.36, -19.82, 40.09)
CIE-LCHlch(47.36, 44.72, 116.31°)
OKLaboklab(53.94% -0.0573 0.0915)
OKLCHoklch(53.94% 0.108 122.1)
XYZxyz(12.3551, 16.2954, 4.5015)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647828 #3C2878
analogous
#786428 #647828 #3C7828
triadic
#647828 #286478 #782864
tetradic
#647828 #287864 #3C2878 #78283C
square
#647828 #287864 #3C2878 #78283C
split-complementary
#647828 #283C78 #642878
monochromatic
#181C09 #3E4A19 #647828 #8AA637 #AAC654

Accessibility & contrast

On white

4.93
#647828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#647828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #647828
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647828#FFFFFF#000000##FFFFFF
##6478281.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711E
Deuteranopia (green-blind)
#7D702E
Tritanopia (blue-blind)
#697267
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #647828;
/* rgb */ color: rgb(100, 120, 40);
/* oklch */ color: oklch(53.9% 0.108 122.1);
Tailwind
colors: {
  custom: {
    50: '#929f66',
    500: '#647828',
    950: '#000000',
  },
}
SCSS
$custom: #647828;
$custom-light: #929f66;
$custom-dark: #000000;
JSON
{
  "hex": "#647828",
  "rgb": {
    "r": 100,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 75,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53941,
    "c": 0.10795,
    "h": 122.1
  },
  "luminance": 0.16295
}

Semantic roles & 50–950 ramp

primary
#647828
secondary
#6852AA
accent
#4EDA71
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E06
muted
#7E7E7A

Preview Lab

Preview with #647828

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

Preview Lab → · Contrast checker → · Palette generator →

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