#225218#225218

#225218 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.1% C 0.102 H 140.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#225218
RGBrgb(34, 82, 24)
HSLhsl(110, 55%, 21%)
HSVhsv(110, 71%, 32%)
CMYKcmyk(58.5%, 0%, 70.7%, 67.8%)
CIE-LABlab(30.50, -28.83, 28.25)
CIE-LCHlch(30.50, 40.36, 135.58°)
OKLaboklab(39.12% -0.079 0.0653)
OKLCHoklch(39.12% 0.102 140.4)
XYZxyz(3.8417, 6.4403, 1.9046)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225218 #481852
analogous
#3F5218 #225218 #18522B
triadic
#225218 #182252 #521822
tetradic
#225218 #183F52 #481852 #522B18
square
#225218 #183F52 #481852 #522B18
split-complementary
#225218 #2B1852 #52183F
monochromatic
#0A1807 #0E230A #225218 #368126 #49B134

Accessibility & contrast

On white

9.18
#225218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#225218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225218
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225218#FFFFFF#000000##FFFFFF
##2252181.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A11
Deuteranopia (green-blind)
#4E461D
Tritanopia (blue-blind)
#1D4F46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #225218;
/* rgb */ color: rgb(34, 82, 24);
/* oklch */ color: oklch(39.1% 0.102 140.4);
Tailwind
colors: {
  custom: {
    50: '#638358',
    500: '#225218',
    950: '#000000',
  },
}
SCSS
$custom: #225218;
$custom-light: #638358;
$custom-dark: #000000;
JSON
{
  "hex": "#225218",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 109.655,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39121,
    "c": 0.10247,
    "h": 140.4
  },
  "luminance": 0.06441
}

Semantic roles & 50–950 ramp

primary
#225218
secondary
#7C3D89
accent
#4ADEC4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #225218

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

Preview Lab → · Contrast checker → · Palette generator →

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