#225612#225612

#225612 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.3% C 0.113 H 139.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#225612
RGBrgb(34, 86, 18)
HSLhsl(106, 65%, 20%)
HSVhsv(106, 79%, 34%)
CMYKcmyk(60.5%, 0%, 79.1%, 66.3%)
CIE-LABlab(31.90, -31.14, 32.45)
CIE-LCHlch(31.90, 44.97, 133.82°)
OKLaboklab(40.26% -0.0856 0.0733)
OKLCHoklch(40.26% 0.113 139.5)
XYZxyz(4.0965, 7.0390, 1.7149)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225612 #461256
analogous
#445612 #225612 #125624
triadic
#225612 #122256 #561222
tetradic
#225612 #124456 #461256 #562412
square
#225612 #124456 #461256 #562412
split-complementary
#225612 #241256 #561244
monochromatic
#0A1905 #0E2307 #225612 #36891D #4ABB27

Accessibility & contrast

On white

8.72
#225612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#225612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225612
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225612#FFFFFF#000000##FFFFFF
##2256121.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#1C5349
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #225612;
/* rgb */ color: rgb(34, 86, 18);
/* oklch */ color: oklch(40.3% 0.113 139.5);
Tailwind
colors: {
  custom: {
    50: '#648655',
    500: '#225612',
    950: '#000000',
  },
}
SCSS
$custom: #225612;
$custom-light: #648655;
$custom-dark: #000000;
JSON
{
  "hex": "#225612",
  "rgb": {
    "r": 34,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 105.882,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40257,
    "c": 0.1127,
    "h": 139.5
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#225612
secondary
#7A358F
accent
#3FE8C1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #225612

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

Preview Lab → · Contrast checker → · Palette generator →

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