#225C18#225C18

#225C18 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.117 H 140.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#225C18
RGBrgb(34, 92, 24)
HSLhsl(111, 59%, 23%)
HSVhsv(111, 74%, 36%)
CMYKcmyk(63%, 0%, 73.9%, 63.9%)
CIE-LABlab(34.11, -33.09, 32.13)
CIE-LCHlch(34.11, 46.12, 135.84°)
OKLaboklab(42.1% -0.0905 0.0735)
OKLCHoklch(42.1% 0.117 140.9)
XYZxyz(4.6515, 8.0599, 2.1746)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225C18 #52185C
analogous
#445C18 #225C18 #185C30
triadic
#225C18 #18225C #5C1822
tetradic
#225C18 #18445C #52185C #5C3018
square
#225C18 #18445C #52185C #5C3018
split-complementary
#225C18 #30185C #5C1844
monochromatic
#091806 #102B0B #225C18 #348D25 #46BD31

Accessibility & contrast

On white

8.04
#225C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#225C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225C18
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225C18#FFFFFF#000000##FFFFFF
##225C181.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F530E
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#1A594E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #225c18;
/* rgb */ color: rgb(34, 92, 24);
/* oklch */ color: oklch(42.1% 0.117 140.9);
Tailwind
colors: {
  custom: {
    50: '#658b59',
    500: '#225c18',
    950: '#000000',
  },
}
SCSS
$custom: #225c18;
$custom-light: #658b59;
$custom-dark: #000000;
JSON
{
  "hex": "#225c18",
  "rgb": {
    "r": 34,
    "g": 92,
    "b": 24
  },
  "hsl": {
    "h": 111.176,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42098,
    "c": 0.11658,
    "h": 140.9
  },
  "luminance": 0.0806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #225C18

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

Preview Lab → · Contrast checker → · Palette generator →

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