#648C1F#648C1F

#648C1F is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.9% C 0.141 H 128.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#648C1F
RGBrgb(100, 140, 31)
HSLhsl(82, 64%, 34%)
HSVhsv(82, 78%, 55%)
CMYKcmyk(28.6%, 0%, 77.9%, 45.1%)
CIE-LABlab(53.56, -30.35, 49.90)
CIE-LCHlch(53.56, 58.41, 121.31°)
OKLaboklab(58.94% -0.0871 0.1107)
OKLCHoklch(58.94% 0.141 128.2)
XYZxyz(14.8809, 21.5641, 4.6743)
Luminance0.2156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#648C1F #471F8C
analogous
#8C7D1F #648C1F #2D8C1F
triadic
#648C1F #1F648C #8C1F64
tetradic
#648C1F #1F8C7D #471F8C #8C1F2D
square
#648C1F #1F8C7D #471F8C #8C1F2D
split-complementary
#648C1F #1F2D8C #7D1F8C
monochromatic
#1C2809 #405A14 #648C1F #88BE2A #A5D84E

Accessibility & contrast

On white

3.95
#648C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##648C1F#FFFFFF#000000##000000
##648C1F1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938204
Deuteranopia (green-blind)
#8E7F2A
Tritanopia (blue-blind)
#688577
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #648c1f;
/* rgb */ color: rgb(100, 140, 31);
/* oklch */ color: oklch(58.9% 0.141 128.2);
Tailwind
colors: {
  custom: {
    50: '#94ae64',
    500: '#648c1f',
    950: '#000000',
  },
}
SCSS
$custom: #648c1f;
$custom-light: #94ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#648c1f",
  "rgb": {
    "r": 100,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 82.018,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58941,
    "c": 0.14079,
    "h": 128.2
  },
  "luminance": 0.21564
}

Semantic roles & 50–950 ramp

primary
#648C1F
secondary
#754CBB
accent
#41E77E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #648C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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