#647B20#647B20

#647B20 is a mid, moderate yellow-green. Relative luminance 0.170; OKLCH L 54.6% C 0.118 H 122.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#647B20
RGBrgb(100, 123, 32)
HSLhsl(75, 59%, 30%)
HSVhsv(75, 74%, 48%)
CMYKcmyk(18.7%, 0%, 74%, 51.8%)
CIE-LABlab(48.23, -21.93, 44.37)
CIE-LCHlch(48.23, 49.50, 116.30°)
OKLaboklab(54.63% -0.064 0.0992)
OKLCHoklch(54.63% 0.118 122.8)
XYZxyz(12.5994, 16.9795, 3.9798)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647B20 #37207B
analogous
#7B6420 #647B20 #367B20
triadic
#647B20 #20647B #7B2064
tetradic
#647B20 #207B64 #37207B #7B2036
square
#647B20 #207B64 #37207B #7B2036
split-complementary
#647B20 #20367B #64207B
monochromatic
#151A07 #3D4A13 #647B20 #8BAC2D #ACCF46

Accessibility & contrast

On white

4.78
#647B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#647B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #647B20
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647B20#FFFFFF#000000##FFFFFF
##647B201.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827310
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#697569
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #647b20;
/* rgb */ color: rgb(100, 123, 32);
/* oklch */ color: oklch(54.6% 0.118 122.8);
Tailwind
colors: {
  custom: {
    50: '#93a162',
    500: '#647b20',
    950: '#000000',
  },
}
SCSS
$custom: #647b20;
$custom-light: #93a162;
$custom-dark: #000000;
JSON
{
  "hex": "#647b20",
  "rgb": {
    "r": 100,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 75.165,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54626,
    "c": 0.11804,
    "h": 122.8
  },
  "luminance": 0.1698
}

Semantic roles & 50–950 ramp

primary
#647B20
secondary
#6249AE
accent
#46E26D
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0F05
muted
#7E7E7A

Preview Lab

Preview with #647B20

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

Preview Lab → · Contrast checker → · Palette generator →

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