#225518#225518

#225518 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.0% C 0.107 H 140.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#225518
RGBrgb(34, 85, 24)
HSLhsl(110, 56%, 21%)
HSVhsv(110, 72%, 33%)
CMYKcmyk(60%, 0%, 71.8%, 66.7%)
CIE-LABlab(31.58, -30.14, 29.43)
CIE-LCHlch(31.58, 42.13, 135.68°)
OKLaboklab(40.02% -0.0825 0.0678)
OKLCHoklch(40.02% 0.107 140.6)
XYZxyz(4.0729, 6.9027, 1.9817)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225518 #4B1855
analogous
#415518 #225518 #18552D
triadic
#225518 #182255 #551822
tetradic
#225518 #184155 #4B1855 #552D18
square
#225518 #184155 #4B1855 #552D18
split-complementary
#225518 #2D1855 #551841
monochromatic
#0A1807 #0F250B #225518 #358525 #48B433

Accessibility & contrast

On white

8.82
#225518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#225518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225518
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225518#FFFFFF#000000##FFFFFF
##2255181.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D10
Deuteranopia (green-blind)
#51491D
Tritanopia (blue-blind)
#1C5248
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #225518;
/* rgb */ color: rgb(34, 85, 24);
/* oklch */ color: oklch(40.0% 0.107 140.6);
Tailwind
colors: {
  custom: {
    50: '#638558',
    500: '#225518',
    950: '#000000',
  },
}
SCSS
$custom: #225518;
$custom-light: #638558;
$custom-dark: #000000;
JSON
{
  "hex": "#225518",
  "rgb": {
    "r": 34,
    "g": 85,
    "b": 24
  },
  "hsl": {
    "h": 110.164,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.40017,
    "c": 0.1068,
    "h": 140.6
  },
  "luminance": 0.06903
}

Semantic roles & 50–950 ramp

primary
#225518
secondary
#7F3D8C
accent
#49DFC7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #225518

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

Preview Lab → · Contrast checker → · Palette generator →

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