#648A1B#648A1B

#648A1B is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.4% C 0.140 H 127.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#648A1B
RGBrgb(100, 138, 27)
HSLhsl(81, 67%, 32%)
HSVhsv(81, 80%, 54%)
CMYKcmyk(27.5%, 0%, 80.4%, 45.9%)
CIE-LABlab(52.91, -29.61, 50.61)
CIE-LCHlch(52.91, 58.64, 120.33°)
OKLaboklab(58.41% -0.0853 0.1115)
OKLCHoklch(58.41% 0.14 127.4)
XYZxyz(14.5419, 20.9651, 4.3172)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#648A1B #411B8A
analogous
#8A791B #648A1B #2C8A1B
triadic
#648A1B #1B648A #8A1B64
tetradic
#648A1B #1B8A79 #411B8A #8A1B2C
square
#648A1B #1B8A79 #411B8A #8A1B2C
split-complementary
#648A1B #1B2C8A #791B8A
monochromatic
#1A2407 #3F5711 #648A1B #89BD25 #A7DB45

Accessibility & contrast

On white

4.04
#648A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#648A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #648A1B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##648A1B#FFFFFF#000000##000000
##648A1B1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#8C7E27
Tritanopia (blue-blind)
#688376
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #648a1b;
/* rgb */ color: rgb(100, 138, 27);
/* oklch */ color: oklch(58.4% 0.140 127.4);
Tailwind
colors: {
  custom: {
    50: '#94ac62',
    500: '#648a1b',
    950: '#000000',
  },
}
SCSS
$custom: #648a1b;
$custom-light: #94ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#648a1b",
  "rgb": {
    "r": 100,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 80.541,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58406,
    "c": 0.14039,
    "h": 127.4
  },
  "luminance": 0.20965
}

Semantic roles & 50–950 ramp

primary
#648A1B
secondary
#6E45BC
accent
#3EEA79
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #648A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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