#648B1F#648B1F

#648B1F is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.7% C 0.140 H 127.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#648B1F
RGBrgb(100, 139, 31)
HSLhsl(82, 64%, 33%)
HSVhsv(82, 78%, 55%)
CMYKcmyk(28.1%, 0%, 77.7%, 45.5%)
CIE-LABlab(53.25, -29.88, 49.61)
CIE-LCHlch(53.25, 57.91, 121.06°)
OKLaboklab(58.69% -0.0858 0.11)
OKLCHoklch(58.69% 0.14 127.9)
XYZxyz(14.7355, 21.2732, 4.6258)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#648B1F #461F8B
analogous
#8B7C1F #648B1F #2E8B1F
triadic
#648B1F #1F648B #8B1F64
tetradic
#648B1F #1F8B7C #461F8B #8B1F2E
square
#648B1F #1F8B7C #461F8B #8B1F2E
split-complementary
#648B1F #1F2E8B #7C1F8B
monochromatic
#1C2709 #405914 #648B1F #88BD2A #A5D74D

Accessibility & contrast

On white

4.00
#648B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#648B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #648B1F
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##648B1F#FFFFFF#000000##000000
##648B1F1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928105
Deuteranopia (green-blind)
#8D7E2A
Tritanopia (blue-blind)
#688477
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #648b1f;
/* rgb */ color: rgb(100, 139, 31);
/* oklch */ color: oklch(58.7% 0.140 127.9);
Tailwind
colors: {
  custom: {
    50: '#94ad64',
    500: '#648b1f',
    950: '#000000',
  },
}
SCSS
$custom: #648b1f;
$custom-light: #94ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#648b1f",
  "rgb": {
    "r": 100,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 81.667,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58686,
    "c": 0.1395,
    "h": 127.9
  },
  "luminance": 0.21273
}

Semantic roles & 50–950 ramp

primary
#648B1F
secondary
#744CBA
accent
#41E77D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #648B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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