#225428#225428

#225428 is a dark, moderate green. Relative luminance 0.068; OKLCH L 40.0% C 0.090 H 146.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#225428
RGBrgb(34, 84, 40)
HSLhsl(127, 42%, 23%)
HSVhsv(127, 60%, 33%)
CMYKcmyk(59.5%, 0%, 52.4%, 67.1%)
CIE-LABlab(31.43, -27.47, 20.67)
CIE-LCHlch(31.43, 34.38, 143.04°)
OKLaboklab(39.95% -0.0745 0.0502)
OKLCHoklch(39.95% 0.09 146)
XYZxyz(4.2128, 6.8336, 3.1041)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225428 #54224E
analogous
#355422 #225428 #225441
triadic
#225428 #282254 #542822
tetradic
#225428 #223554 #54224E #544122
square
#225428 #223554 #54224E #544122
split-complementary
#225428 #412254 #542235
monochromatic
#09160A #102813 #225428 #34803D #45AB51

Accessibility & contrast

On white

8.87
#225428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#225428 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225428
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225428#FFFFFF#000000##FFFFFF
##2254281.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D24
Deuteranopia (green-blind)
#4F482B
Tritanopia (blue-blind)
#19524A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #225428;
/* rgb */ color: rgb(34, 84, 40);
/* oklch */ color: oklch(40.0% 0.090 146.0);
Tailwind
colors: {
  custom: {
    50: '#628463',
    500: '#225428',
    950: '#000000',
  },
}
SCSS
$custom: #225428;
$custom-light: #628463;
$custom-dark: #000000;
JSON
{
  "hex": "#225428",
  "rgb": {
    "r": 34,
    "g": 84,
    "b": 40
  },
  "hsl": {
    "h": 127.2,
    "s": 42.373,
    "l": 23.137
  },
  "oklch": {
    "l": 0.39951,
    "c": 0.08982,
    "h": 146
  },
  "luminance": 0.06834
}

Semantic roles & 50–950 ramp

primary
#225428
secondary
#884A81
accent
#56C3D2
background
#F6F8F5
surface
#EBEFEA
border
#C6CAC6
text
#050B05
muted
#7A7C79

Preview Lab

Preview with #225428

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

Preview Lab → · Contrast checker → · Palette generator →

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