#225418#225418

#225418 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.7% C 0.105 H 140.5°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#225418
RGBrgb(34, 84, 24)
HSLhsl(110, 56%, 21%)
HSVhsv(110, 71%, 33%)
CMYKcmyk(59.5%, 0%, 71.4%, 67.1%)
CIE-LABlab(31.22, -29.70, 29.04)
CIE-LCHlch(31.22, 41.54, 135.65°)
OKLaboklab(39.72% -0.0813 0.067)
OKLCHoklch(39.72% 0.105 140.5)
XYZxyz(3.9947, 6.7463, 1.9556)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225418 #4A1854
analogous
#405418 #225418 #18542C
triadic
#225418 #182254 #541822
tetradic
#225418 #184054 #4A1854 #542C18
square
#225418 #184054 #4A1854 #542C18
split-complementary
#225418 #2C1854 #541840
monochromatic
#0A1807 #0F240A #225418 #358426 #49B333

Accessibility & contrast

On white

8.94
#225418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#225418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225418
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225418#FFFFFF#000000##FFFFFF
##2254181.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C10
Deuteranopia (green-blind)
#50481D
Tritanopia (blue-blind)
#1C5148
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #225418;
/* rgb */ color: rgb(34, 84, 24);
/* oklch */ color: oklch(39.7% 0.105 140.5);
Tailwind
colors: {
  custom: {
    50: '#638558',
    500: '#225418',
    950: '#000000',
  },
}
SCSS
$custom: #225418;
$custom-light: #638558;
$custom-dark: #000000;
JSON
{
  "hex": "#225418",
  "rgb": {
    "r": 34,
    "g": 84,
    "b": 24
  },
  "hsl": {
    "h": 110,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39718,
    "c": 0.10537,
    "h": 140.5
  },
  "luminance": 0.06747
}

Semantic roles & 50–950 ramp

primary
#225418
secondary
#7E3D8B
accent
#49DFC6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #225418

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

Preview Lab → · Contrast checker → · Palette generator →

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