#225F2E#225F2E

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

Color values

HEX#225F2E
RGBrgb(34, 95, 46)
HSLhsl(132, 47%, 25%)
HSVhsv(132, 64%, 37%)
CMYKcmyk(64.2%, 0%, 51.6%, 62.7%)
CIE-LABlab(35.44, -31.38, 22.26)
CIE-LCHlch(35.44, 38.47, 144.65°)
OKLaboklab(43.28% -0.0848 0.0541)
OKLCHoklch(43.28% 0.101 147.5)
XYZxyz(5.2447, 8.7213, 3.9912)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225F2E #5F2253
analogous
#345F22 #225F2E #225F4C
triadic
#225F2E #2E225F #5F2E22
tetradic
#225F2E #22345F #5F2253 #5F4C22
square
#225F2E #22345F #5F2253 #5F4C22
split-complementary
#225F2E #4C225F #5F2234
monochromatic
#08170B #123218 #225F2E #328C44 #42B95A

Accessibility & contrast

On white

7.65
#225F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #225F2E
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225F2E#FFFFFF#000000##FFFFFF
##225F2E1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60572A
Deuteranopia (green-blind)
#585131
Tritanopia (blue-blind)
#135D53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #225f2e;
/* rgb */ color: rgb(34, 95, 46);
/* oklch */ color: oklch(43.3% 0.101 147.5);
Tailwind
colors: {
  custom: {
    50: '#648d68',
    500: '#225f2e',
    950: '#000000',
  },
}
SCSS
$custom: #225f2e;
$custom-light: #648d68;
$custom-dark: #000000;
JSON
{
  "hex": "#225f2e",
  "rgb": {
    "r": 34,
    "g": 95,
    "b": 46
  },
  "hsl": {
    "h": 131.803,
    "s": 47.287,
    "l": 25.294
  },
  "oklch": {
    "l": 0.43284,
    "c": 0.10063,
    "h": 147.5
  },
  "luminance": 0.08722
}

Semantic roles & 50–950 ramp

primary
#225F2E
secondary
#934A85
accent
#51BDD7
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #225F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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