#648D1F#648D1F

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

Color values

HEX#648D1F
RGBrgb(100, 141, 31)
HSLhsl(82, 64%, 34%)
HSVhsv(82, 78%, 55%)
CMYKcmyk(29.1%, 0%, 78%, 44.7%)
CIE-LABlab(53.88, -30.82, 50.20)
CIE-LCHlch(53.88, 58.91, 121.55°)
OKLaboklab(59.2% -0.0883 0.1113)
OKLCHoklch(59.2% 0.142 128.4)
XYZxyz(15.0277, 21.8576, 4.7232)
Luminance0.2186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#648D1F #481F8D
analogous
#8D7F1F #648D1F #2D8D1F
triadic
#648D1F #1F648D #8D1F64
tetradic
#648D1F #1F8D7F #481F8D #8D1F2D
square
#648D1F #1F8D7F #481F8D #8D1F2D
split-complementary
#648D1F #1F2D8D #7F1F8D
monochromatic
#1D2909 #405B14 #648D1F #88BF2A #A5D84E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##648D1F#FFFFFF#000000##000000
##648D1F1.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)
#948304
Deuteranopia (green-blind)
#8F802A
Tritanopia (blue-blind)
#688678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #648d1f;
/* rgb */ color: rgb(100, 141, 31);
/* oklch */ color: oklch(59.2% 0.142 128.4);
Tailwind
colors: {
  custom: {
    50: '#94ae64',
    500: '#648d1f',
    950: '#000000',
  },
}
SCSS
$custom: #648d1f;
$custom-light: #94ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#648d1f",
  "rgb": {
    "r": 100,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 82.364,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59197,
    "c": 0.14207,
    "h": 128.4
  },
  "luminance": 0.21858
}

Semantic roles & 50–950 ramp

primary
#648D1F
secondary
#764DBB
accent
#41E77F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #648D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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