#648828#648828

#648828 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 58.0% C 0.130 H 127.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#648828
RGBrgb(100, 136, 40)
HSLhsl(83, 55%, 35%)
HSVhsv(83, 71%, 53%)
CMYKcmyk(26.5%, 0%, 70.6%, 46.7%)
CIE-LABlab(52.37, -27.86, 45.32)
CIE-LCHlch(52.37, 53.20, 121.58°)
OKLaboklab(57.99% -0.0795 0.1025)
OKLCHoklch(57.99% 0.13 127.8)
XYZxyz(14.4427, 20.4705, 5.1974)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#648828 #4C2888
analogous
#887C28 #648828 #348828
triadic
#648828 #286488 #882864
tetradic
#648828 #28887C #4C2888 #882834
square
#648828 #28887C #4C2888 #882834
split-complementary
#648828 #283488 #7C2888
monochromatic
#1E290C #41591A #648828 #87B736 #A4CF5B

Accessibility & contrast

On white

4.12
#648828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#648828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #648828
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##648828#FFFFFF#000000##000000
##6488281.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E19
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#688275
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #648828;
/* rgb */ color: rgb(100, 136, 40);
/* oklch */ color: oklch(58.0% 0.130 127.8);
Tailwind
colors: {
  custom: {
    50: '#93ab68',
    500: '#648828',
    950: '#000000',
  },
}
SCSS
$custom: #648828;
$custom-light: #93ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#648828",
  "rgb": {
    "r": 100,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 82.5,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57989,
    "c": 0.12971,
    "h": 127.8
  },
  "luminance": 0.20471
}

Semantic roles & 50–950 ramp

primary
#648828
secondary
#7A58B4
accent
#4ADE81
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #648828

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

Preview Lab → · Contrast checker → · Palette generator →

#648828 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva