#225D18#225D18

#225D18 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.4% C 0.118 H 141.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#225D18
RGBrgb(34, 93, 24)
HSLhsl(111, 59%, 23%)
HSVhsv(111, 74%, 36%)
CMYKcmyk(63.4%, 0%, 74.2%, 63.5%)
CIE-LABlab(34.47, -33.50, 32.51)
CIE-LCHlch(34.47, 46.68, 135.86°)
OKLaboklab(42.39% -0.0916 0.0743)
OKLCHoklch(42.39% 0.118 141)
XYZxyz(4.7387, 8.2343, 2.2036)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225D18 #53185D
analogous
#445D18 #225D18 #185D30
triadic
#225D18 #18225D #5D1822
tetradic
#225D18 #18445D #53185D #5D3018
square
#225D18 #18445D #53185D #5D3018
split-complementary
#225D18 #30185D #5D1844
monochromatic
#091806 #102C0B #225D18 #348E25 #46BE31

Accessibility & contrast

On white

7.93
#225D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#225D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225D18
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225D18#FFFFFF#000000##FFFFFF
##225D181.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540E
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#1A5A4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #225d18;
/* rgb */ color: rgb(34, 93, 24);
/* oklch */ color: oklch(42.4% 0.118 141.0);
Tailwind
colors: {
  custom: {
    50: '#658b59',
    500: '#225d18',
    950: '#000000',
  },
}
SCSS
$custom: #225d18;
$custom-light: #658b59;
$custom-dark: #000000;
JSON
{
  "hex": "#225d18",
  "rgb": {
    "r": 34,
    "g": 93,
    "b": 24
  },
  "hsl": {
    "h": 111.304,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42394,
    "c": 0.11795,
    "h": 141
  },
  "luminance": 0.08235
}

Semantic roles & 50–950 ramp

primary
#225D18
secondary
#873D93
accent
#46E2CB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #225D18

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

Preview Lab → · Contrast checker → · Palette generator →

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