#225512#225512

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

Color values

HEX#225512
RGBrgb(34, 85, 18)
HSLhsl(106, 65%, 20%)
HSVhsv(106, 79%, 33%)
CMYKcmyk(60%, 0%, 78.8%, 66.7%)
CIE-LABlab(31.53, -30.72, 32.08)
CIE-LCHlch(31.53, 44.41, 133.76°)
OKLaboklab(39.96% -0.0845 0.0725)
OKLCHoklch(39.96% 0.111 139.4)
XYZxyz(4.0172, 6.8804, 1.6885)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225512 #451255
analogous
#435512 #225512 #125524
triadic
#225512 #122255 #551222
tetradic
#225512 #124355 #451255 #552412
square
#225512 #124355 #451255 #552412
split-complementary
#225512 #241255 #551243
monochromatic
#0A1905 #0E2207 #225512 #36881D #4ABA27

Accessibility & contrast

On white

8.84
#225512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #225512
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225512#FFFFFF#000000##FFFFFF
##2255121.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D06
Deuteranopia (green-blind)
#514919
Tritanopia (blue-blind)
#1D5248
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #225512;
/* rgb */ color: rgb(34, 85, 18);
/* oklch */ color: oklch(40.0% 0.111 139.4);
Tailwind
colors: {
  custom: {
    50: '#648555',
    500: '#225512',
    950: '#000000',
  },
}
SCSS
$custom: #225512;
$custom-light: #648555;
$custom-dark: #000000;
JSON
{
  "hex": "#225512",
  "rgb": {
    "r": 34,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 105.672,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39958,
    "c": 0.11134,
    "h": 139.4
  },
  "luminance": 0.06881
}

Semantic roles & 50–950 ramp

primary
#225512
secondary
#79358E
accent
#40E8C0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #225512

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

Preview Lab → · Contrast checker → · Palette generator →

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