#225F2C#225F2C

#225F2C is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.2% C 0.103 H 146.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#225F2C
RGBrgb(34, 95, 44)
HSLhsl(130, 47%, 25%)
HSVhsv(130, 64%, 37%)
CMYKcmyk(64.2%, 0%, 53.7%, 62.7%)
CIE-LABlab(35.41, -31.71, 23.35)
CIE-LCHlch(35.41, 39.38, 143.64°)
OKLaboklab(43.25% -0.0858 0.0565)
OKLCHoklch(43.25% 0.103 146.6)
XYZxyz(5.2062, 8.7059, 3.7884)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225F2C #5F2255
analogous
#365F22 #225F2C #225F4A
triadic
#225F2C #2C225F #5F2C22
tetradic
#225F2C #22365F #5F2255 #5F4A22
square
#225F2C #22365F #5F2255 #5F4A22
split-complementary
#225F2C #4A225F #5F2236
monochromatic
#08170A #123217 #225F2C #328C41 #42B956

Accessibility & contrast

On white

7.66
#225F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#225F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225F2C
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225F2C#FFFFFF#000000##FFFFFF
##225F2C1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605728
Deuteranopia (green-blind)
#585130
Tritanopia (blue-blind)
#145D53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #225f2c;
/* rgb */ color: rgb(34, 95, 44);
/* oklch */ color: oklch(43.2% 0.103 146.6);
Tailwind
colors: {
  custom: {
    50: '#648d66',
    500: '#225f2c',
    950: '#000000',
  },
}
SCSS
$custom: #225f2c;
$custom-light: #648d66;
$custom-dark: #000000;
JSON
{
  "hex": "#225f2c",
  "rgb": {
    "r": 34,
    "g": 95,
    "b": 44
  },
  "hsl": {
    "h": 129.836,
    "s": 47.287,
    "l": 25.294
  },
  "oklch": {
    "l": 0.43249,
    "c": 0.1027,
    "h": 146.6
  },
  "luminance": 0.08706
}

Semantic roles & 50–950 ramp

primary
#225F2C
secondary
#934A87
accent
#51C1D7
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #225F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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