#225F2A#225F2A

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

Color values

HEX#225F2A
RGBrgb(34, 95, 42)
HSLhsl(128, 47%, 25%)
HSVhsv(128, 64%, 37%)
CMYKcmyk(64.2%, 0%, 55.8%, 62.7%)
CIE-LABlab(35.38, -32.04, 24.43)
CIE-LCHlch(35.38, 40.29, 142.67°)
OKLaboklab(43.22% -0.0867 0.0588)
OKLCHoklch(43.22% 0.105 145.9)
XYZxyz(5.1695, 8.6912, 3.5952)
Luminance0.0869 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225F2A #5F2257
analogous
#385F22 #225F2A #225F48
triadic
#225F2A #2A225F #5F2A22
tetradic
#225F2A #22385F #5F2257 #5F4822
square
#225F2A #22385F #5F2257 #5F4822
split-complementary
#225F2A #48225F #5F2238
monochromatic
#08170A #123216 #225F2A #328C3E #42B952

Accessibility & contrast

On white

7.67
#225F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #225F2A
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225F2A#FFFFFF#000000##FFFFFF
##225F2A1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605625
Deuteranopia (green-blind)
#59512E
Tritanopia (blue-blind)
#145D53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #225f2a;
/* rgb */ color: rgb(34, 95, 42);
/* oklch */ color: oklch(43.2% 0.105 145.9);
Tailwind
colors: {
  custom: {
    50: '#648d65',
    500: '#225f2a',
    950: '#000000',
  },
}
SCSS
$custom: #225f2a;
$custom-light: #648d65;
$custom-dark: #000000;
JSON
{
  "hex": "#225f2a",
  "rgb": {
    "r": 34,
    "g": 95,
    "b": 42
  },
  "hsl": {
    "h": 127.869,
    "s": 47.287,
    "l": 25.294
  },
  "oklch": {
    "l": 0.43216,
    "c": 0.10474,
    "h": 145.9
  },
  "luminance": 0.08692
}

Semantic roles & 50–950 ramp

primary
#225F2A
secondary
#934A89
accent
#51C5D7
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #225F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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