#648228#648228

#648228 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.5% C 0.122 H 126.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#648228
RGBrgb(100, 130, 40)
HSLhsl(80, 53%, 33%)
HSVhsv(80, 69%, 51%)
CMYKcmyk(23.1%, 0%, 69.2%, 49%)
CIE-LABlab(50.48, -24.92, 43.38)
CIE-LCHlch(50.48, 50.02, 119.88°)
OKLaboklab(56.47% -0.0714 0.0984)
OKLCHoklch(56.47% 0.122 126)
XYZxyz(13.6212, 18.8276, 4.9235)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#648228 #462882
analogous
#827328 #648228 #378228
triadic
#648228 #286482 #822864
tetradic
#648228 #288273 #462882 #822837
square
#648228 #288273 #462882 #822837
split-complementary
#648228 #283782 #732882
monochromatic
#1C240B #40531A #648228 #88B136 #A5CC59

Accessibility & contrast

On white

4.41
#648228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#648228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #648228
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##648228#FFFFFF#000000##000000
##6482281.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791B
Deuteranopia (green-blind)
#85782F
Tritanopia (blue-blind)
#687C70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #648228;
/* rgb */ color: rgb(100, 130, 40);
/* oklch */ color: oklch(56.5% 0.122 126.0);
Tailwind
colors: {
  custom: {
    50: '#93a667',
    500: '#648228',
    950: '#000000',
  },
}
SCSS
$custom: #648228;
$custom-light: #93a667;
$custom-dark: #000000;
JSON
{
  "hex": "#648228",
  "rgb": {
    "r": 100,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 80,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56465,
    "c": 0.12159,
    "h": 126
  },
  "luminance": 0.18828
}

Semantic roles & 50–950 ramp

primary
#648228
secondary
#7455B1
accent
#4BDC7C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #648228

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

Preview Lab → · Contrast checker → · Palette generator →

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