#225F31#225F31

#225F31 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.097 H 148.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#225F31
RGBrgb(34, 95, 49)
HSLhsl(135, 47%, 25%)
HSVhsv(135, 64%, 37%)
CMYKcmyk(64.2%, 0%, 48.4%, 62.7%)
CIE-LABlab(35.49, -30.85, 20.60)
CIE-LCHlch(35.49, 37.09, 146.27°)
OKLaboklab(43.34% -0.0834 0.0505)
OKLCHoklch(43.34% 0.097 148.8)
XYZxyz(5.3059, 8.7457, 4.3136)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225F31 #5F2250
analogous
#315F22 #225F31 #225F4F
triadic
#225F31 #31225F #5F3122
tetradic
#225F31 #22315F #5F2250 #5F4F22
square
#225F31 #22315F #5F2250 #5F4F22
split-complementary
#225F31 #4F225F #5F2231
monochromatic
#08170C #12321A #225F31 #328C48 #42B95F

Accessibility & contrast

On white

7.64
#225F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#225F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225F31
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225F31#FFFFFF#000000##FFFFFF
##225F311.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60572D
Deuteranopia (green-blind)
#585134
Tritanopia (blue-blind)
#115D54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #225f31;
/* rgb */ color: rgb(34, 95, 49);
/* oklch */ color: oklch(43.3% 0.097 148.8);
Tailwind
colors: {
  custom: {
    50: '#648d6a',
    500: '#225f31',
    950: '#000000',
  },
}
SCSS
$custom: #225f31;
$custom-light: #648d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#225f31",
  "rgb": {
    "r": 34,
    "g": 95,
    "b": 49
  },
  "hsl": {
    "h": 134.754,
    "s": 47.287,
    "l": 25.294
  },
  "oklch": {
    "l": 0.43339,
    "c": 0.09747,
    "h": 148.8
  },
  "luminance": 0.08746
}

Semantic roles & 50–950 ramp

primary
#225F31
secondary
#934A81
accent
#51B6D7
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #225F31

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

Preview Lab → · Contrast checker → · Palette generator →

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