#225F40#225F40

#225F40 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.7% C 0.082 H 158.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#225F40
RGBrgb(34, 95, 64)
HSLhsl(150, 47%, 25%)
HSVhsv(150, 64%, 37%)
CMYKcmyk(64.2%, 0%, 32.6%, 62.7%)
CIE-LABlab(35.78, -27.74, 12.05)
CIE-LCHlch(35.78, 30.25, 156.51°)
OKLaboklab(43.67% -0.0757 0.0306)
OKLCHoklch(43.67% 0.082 158)
XYZxyz(5.6768, 8.8941, 6.2671)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225F40 #5F2241
analogous
#225F22 #225F40 #225F5E
triadic
#225F40 #40225F #5F4022
tetradic
#225F40 #22225F #5F2241 #5F5E22
square
#225F40 #22225F #5F2241 #5F5E22
split-complementary
#225F40 #5E225F #5F2222
monochromatic
#08170F #123222 #225F40 #328C5E #42B97D

Accessibility & contrast

On white

7.56
#225F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#225F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225F40
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225F40#FFFFFF#000000##FFFFFF
##225F401.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E583E
Deuteranopia (green-blind)
#565242
Tritanopia (blue-blind)
#075E57
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #225f40;
/* rgb */ color: rgb(34, 95, 64);
/* oklch */ color: oklch(43.7% 0.082 158.0);
Tailwind
colors: {
  custom: {
    50: '#648d75',
    500: '#225f40',
    950: '#000000',
  },
}
SCSS
$custom: #225f40;
$custom-light: #648d75;
$custom-dark: #000000;
JSON
{
  "hex": "#225f40",
  "rgb": {
    "r": 34,
    "g": 95,
    "b": 64
  },
  "hsl": {
    "h": 149.508,
    "s": 47.287,
    "l": 25.294
  },
  "oklch": {
    "l": 0.43671,
    "c": 0.08161,
    "h": 158
  },
  "luminance": 0.08895
}

Semantic roles & 50–950 ramp

primary
#225F40
secondary
#934A6F
accent
#5195D7
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #225F40

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

Preview Lab → · Contrast checker → · Palette generator →

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