#648D21#648D21

#648D21 is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.2% C 0.141 H 128.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#648D21
RGBrgb(100, 141, 33)
HSLhsl(83, 62%, 34%)
HSVhsv(83, 77%, 55%)
CMYKcmyk(29.1%, 0%, 76.6%, 44.7%)
CIE-LABlab(53.89, -30.71, 49.52)
CIE-LCHlch(53.89, 58.27, 121.80°)
OKLaboklab(59.21% -0.0879 0.1102)
OKLCHoklch(59.21% 0.141 128.6)
XYZxyz(15.0549, 21.8685, 4.8664)
Luminance0.2187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#648D21 #4A218D
analogous
#8D8021 #648D21 #2E8D21
triadic
#648D21 #21648D #8D2164
tetradic
#648D21 #218D80 #4A218D #8D212E
square
#648D21 #218D80 #4A218D #8D212E
split-complementary
#648D21 #212E8D #80218D
monochromatic
#1E2A0A #415B15 #648D21 #87BF2D #A4D652

Accessibility & contrast

On white

3.91
#648D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#648D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #648D21
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##648D21#FFFFFF#000000##000000
##648D211.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948309
Deuteranopia (green-blind)
#8E802B
Tritanopia (blue-blind)
#678678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #648d21;
/* rgb */ color: rgb(100, 141, 33);
/* oklch */ color: oklch(59.2% 0.141 128.6);
Tailwind
colors: {
  custom: {
    50: '#94ae65',
    500: '#648d21',
    950: '#000000',
  },
}
SCSS
$custom: #648d21;
$custom-light: #94ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#648d21",
  "rgb": {
    "r": 100,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 82.778,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5921,
    "c": 0.14092,
    "h": 128.6
  },
  "luminance": 0.21869
}

Semantic roles & 50–950 ramp

primary
#648D21
secondary
#7850BA
accent
#43E580
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #648D21

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

Preview Lab → · Contrast checker → · Palette generator →

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