#648B1C#648B1C

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

Color values

HEX#648B1C
RGBrgb(100, 139, 28)
HSLhsl(81, 66%, 33%)
HSVhsv(81, 80%, 55%)
CMYKcmyk(28.1%, 0%, 79.9%, 45.5%)
CIE-LABlab(53.23, -30.03, 50.59)
CIE-LCHlch(53.23, 58.83, 120.70°)
OKLaboklab(58.67% -0.0864 0.1116)
OKLCHoklch(58.67% 0.141 127.8)
XYZxyz(14.6978, 21.2581, 4.4272)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#648B1C #431C8B
analogous
#8B7A1C #648B1C #2D8B1C
triadic
#648B1C #1C648B #8B1C64
tetradic
#648B1C #1C8B7A #431C8B #8B1C2D
square
#648B1C #1C8B7A #431C8B #8B1C2D
split-complementary
#648B1C #1C2D8B #7A1C8B
monochromatic
#1B2507 #3F5812 #648B1C #89BE26 #A6DA47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##648B1C#FFFFFF#000000##000000
##648B1C1.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)
#928100
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#688476
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #648b1c;
/* rgb */ color: rgb(100, 139, 28);
/* oklch */ color: oklch(58.7% 0.141 127.8);
Tailwind
colors: {
  custom: {
    50: '#94ad62',
    500: '#648b1c',
    950: '#000000',
  },
}
SCSS
$custom: #648b1c;
$custom-light: #94ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#648b1c",
  "rgb": {
    "r": 100,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 81.081,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58667,
    "c": 0.14115,
    "h": 127.8
  },
  "luminance": 0.21258
}

Semantic roles & 50–950 ramp

primary
#648B1C
secondary
#7047BC
accent
#3EE97A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #648B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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