#225A2E#225A2E

#225A2E is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.093 H 148.1°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#225A2E
RGBrgb(34, 90, 46)
HSLhsl(133, 45%, 24%)
HSVhsv(133, 62%, 35%)
CMYKcmyk(62.2%, 0%, 48.9%, 64.7%)
CIE-LABlab(33.67, -29.15, 20.01)
CIE-LCHlch(33.67, 35.36, 145.53°)
OKLaboklab(41.82% -0.0789 0.049)
OKLCHoklch(41.82% 0.093 148.1)
XYZxyz(4.8087, 7.8492, 3.8459)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225A2E #5A224E
analogous
#325A22 #225A2E #225A4A
triadic
#225A2E #2E225A #5A2E22
tetradic
#225A2E #22325A #5A224E #5A4A22
square
#225A2E #22325A #5A224E #5A4A22
split-complementary
#225A2E #4A225A #5A2232
monochromatic
#08160B #112E17 #225A2E #338645 #44B35B

Accessibility & contrast

On white

8.17
#225A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#225A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225A2E
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225A2E#FFFFFF#000000##FFFFFF
##225A2E1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B522B
Deuteranopia (green-blind)
#544D31
Tritanopia (blue-blind)
#15584F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #225a2e;
/* rgb */ color: rgb(34, 90, 46);
/* oklch */ color: oklch(41.8% 0.093 148.1);
Tailwind
colors: {
  custom: {
    50: '#638967',
    500: '#225a2e',
    950: '#000000',
  },
}
SCSS
$custom: #225a2e;
$custom-light: #638967;
$custom-dark: #000000;
JSON
{
  "hex": "#225a2e",
  "rgb": {
    "r": 34,
    "g": 90,
    "b": 46
  },
  "hsl": {
    "h": 132.857,
    "s": 45.161,
    "l": 24.314
  },
  "oklch": {
    "l": 0.41824,
    "c": 0.09287,
    "h": 148.1
  },
  "luminance": 0.0785
}

Semantic roles & 50–950 ramp

primary
#225A2E
secondary
#8E4A7F
accent
#53B9D5
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #225A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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