#648B40#648B40

#648B40 is a mid, moderate yellow-green. Relative luminance 0.215; OKLCH L 59.0% C 0.113 H 131.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#648B40
RGBrgb(100, 139, 64)
HSLhsl(91, 37%, 40%)
HSVhsv(91, 54%, 55%)
CMYKcmyk(28.1%, 0%, 54%, 45.5%)
CIE-LABlab(53.54, -27.08, 35.45)
CIE-LCHlch(53.54, 44.61, 127.38°)
OKLaboklab(59.02% -0.0752 0.0843)
OKLCHoklch(59.02% 0.113 131.8)
XYZxyz(15.4133, 21.5443, 8.1959)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#648B40 #67408B
analogous
#8A8B40 #648B40 #408B41
triadic
#648B40 #40648B #8B4064
tetradic
#648B40 #408A8B #67408B #8B4140
square
#648B40 #408A8B #67408B #8B4140
split-complementary
#648B40 #41408B #8B408A
monochromatic
#283719 #46612D #648B40 #82B257 #A1C581

Accessibility & contrast

On white

3.96
#648B40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#648B40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #648B40
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##648B40#FFFFFF#000000##000000
##648B401.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#908239
Deuteranopia (green-blind)
#8B7F45
Tritanopia (blue-blind)
#65867A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #648b40;
/* rgb */ color: rgb(100, 139, 64);
/* oklch */ color: oklch(59.0% 0.113 131.8);
Tailwind
colors: {
  custom: {
    50: '#92ad77',
    500: '#648b40',
    950: '#000000',
  },
}
SCSS
$custom: #648b40;
$custom-light: #92ad77;
$custom-dark: #000000;
JSON
{
  "hex": "#648b40",
  "rgb": {
    "r": 100,
    "g": 139,
    "b": 64
  },
  "hsl": {
    "h": 91.2,
    "s": 36.946,
    "l": 39.804
  },
  "oklch": {
    "l": 0.59018,
    "c": 0.11296,
    "h": 131.8
  },
  "luminance": 0.21545
}

Semantic roles & 50–950 ramp

primary
#648B40
secondary
#9578AF
accent
#5BCD96
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #648B40

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

Preview Lab → · Contrast checker → · Palette generator →

#648B40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva