#225A18#225A18

#225A18 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.114 H 140.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#225A18
RGBrgb(34, 90, 24)
HSLhsl(111, 58%, 22%)
HSVhsv(111, 73%, 35%)
CMYKcmyk(62.2%, 0%, 73.3%, 64.7%)
CIE-LABlab(33.39, -32.26, 31.37)
CIE-LCHlch(33.39, 45.00, 135.80°)
OKLaboklab(41.5% -0.0883 0.0719)
OKLCHoklch(41.5% 0.114 140.8)
XYZxyz(4.4805, 7.7180, 2.1176)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225A18 #50185A
analogous
#435A18 #225A18 #185A2F
triadic
#225A18 #18225A #5A1822
tetradic
#225A18 #18435A #50185A #5A2F18
square
#225A18 #18435A #50185A #5A2F18
split-complementary
#225A18 #2F185A #5A1843
monochromatic
#091806 #102A0B #225A18 #348A25 #47BB32

Accessibility & contrast

On white

8.26
#225A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#225A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225A18
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225A18#FFFFFF#000000##FFFFFF
##225A181.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510F
Deuteranopia (green-blind)
#554D1E
Tritanopia (blue-blind)
#1A574D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #225a18;
/* rgb */ color: rgb(34, 90, 24);
/* oklch */ color: oklch(41.5% 0.114 140.8);
Tailwind
colors: {
  custom: {
    50: '#648959',
    500: '#225a18',
    950: '#000000',
  },
}
SCSS
$custom: #225a18;
$custom-light: #648959;
$custom-dark: #000000;
JSON
{
  "hex": "#225a18",
  "rgb": {
    "r": 34,
    "g": 90,
    "b": 24
  },
  "hsl": {
    "h": 110.909,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41504,
    "c": 0.11383,
    "h": 140.8
  },
  "luminance": 0.07718
}

Semantic roles & 50–950 ramp

primary
#225A18
secondary
#843D91
accent
#47E1CA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #225A18

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

Preview Lab → · Contrast checker → · Palette generator →

#225A18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva