#648221#648221

#648221 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.4% C 0.127 H 125.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#648221
RGBrgb(100, 130, 33)
HSLhsl(79, 60%, 32%)
HSVhsv(79, 75%, 51%)
CMYKcmyk(23.1%, 0%, 74.6%, 49%)
CIE-LABlab(50.43, -25.39, 46.16)
CIE-LCHlch(50.43, 52.68, 118.82°)
OKLaboklab(56.41% -0.0734 0.1031)
OKLCHoklch(56.41% 0.127 125.4)
XYZxyz(13.5128, 18.7842, 4.3524)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#648221 #3F2182
analogous
#827021 #648221 #338221
triadic
#648221 #216482 #822164
tetradic
#648221 #218270 #3F2182 #822133
square
#648221 #218270 #3F2182 #822133
split-complementary
#648221 #213382 #702182
monochromatic
#192008 #3E5115 #648221 #8AB32D #A8D24C

Accessibility & contrast

On white

4.41
#648221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#648221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #648221
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##648221#FFFFFF#000000##000000
##6482211.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790F
Deuteranopia (green-blind)
#85782A
Tritanopia (blue-blind)
#697C6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #648221;
/* rgb */ color: rgb(100, 130, 33);
/* oklch */ color: oklch(56.4% 0.127 125.4);
Tailwind
colors: {
  custom: {
    50: '#93a663',
    500: '#648221',
    950: '#000000',
  },
}
SCSS
$custom: #648221;
$custom-light: #93a663;
$custom-dark: #000000;
JSON
{
  "hex": "#648221",
  "rgb": {
    "r": 100,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 78.557,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56408,
    "c": 0.12656,
    "h": 125.4
  },
  "luminance": 0.18784
}

Semantic roles & 50–950 ramp

primary
#648221
secondary
#6B4AB4
accent
#45E376
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #648221

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

Preview Lab → · Contrast checker → · Palette generator →

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