#647B28#647B28

#647B28 is a mid, moderate yellow-green. Relative luminance 0.170; OKLCH L 54.7% C 0.112 H 123.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#647B28
RGBrgb(100, 123, 40)
HSLhsl(77, 51%, 32%)
HSVhsv(77, 67%, 48%)
CMYKcmyk(18.7%, 0%, 67.5%, 51.8%)
CIE-LABlab(48.30, -21.37, 41.08)
CIE-LCHlch(48.30, 46.31, 117.49°)
OKLaboklab(54.7% -0.0616 0.0936)
OKLCHoklch(54.7% 0.112 123.4)
XYZxyz(12.7216, 17.0284, 4.6237)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647B28 #3F287B
analogous
#7B6928 #647B28 #3A7B28
triadic
#647B28 #28647B #7B2864
tetradic
#647B28 #287B69 #3F287B #7B283A
square
#647B28 #287B69 #3F287B #7B283A
split-complementary
#647B28 #283A7B #69287B
monochromatic
#191F0A #3E4D19 #647B28 #8AA937 #A8C856

Accessibility & contrast

On white

4.77
#647B28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#647B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #647B28
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647B28#FFFFFF#000000##FFFFFF
##647B281.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731D
Deuteranopia (green-blind)
#7F732E
Tritanopia (blue-blind)
#69756A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #647b28;
/* rgb */ color: rgb(100, 123, 40);
/* oklch */ color: oklch(54.7% 0.112 123.4);
Tailwind
colors: {
  custom: {
    50: '#93a166',
    500: '#647b28',
    950: '#000000',
  },
}
SCSS
$custom: #647b28;
$custom-light: #93a166;
$custom-dark: #000000;
JSON
{
  "hex": "#647b28",
  "rgb": {
    "r": 100,
    "g": 123,
    "b": 40
  },
  "hsl": {
    "h": 76.627,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54696,
    "c": 0.11204,
    "h": 123.4
  },
  "luminance": 0.17028
}

Semantic roles & 50–950 ramp

primary
#647B28
secondary
#6B52AD
accent
#4DDA74
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0F06
muted
#7E7E7A

Preview Lab

Preview with #647B28

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

Preview Lab → · Contrast checker → · Palette generator →

#647B28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva