#225A2D#225A2D

#225A2D is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.8% C 0.094 H 147.7°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#225A2D
RGBrgb(34, 90, 45)
HSLhsl(132, 45%, 24%)
HSVhsv(132, 62%, 35%)
CMYKcmyk(62.2%, 0%, 50%, 64.7%)
CIE-LABlab(33.65, -29.33, 20.57)
CIE-LCHlch(33.65, 35.83, 144.96°)
OKLaboklab(41.81% -0.0794 0.0503)
OKLCHoklch(41.81% 0.094 147.7)
XYZxyz(4.7892, 7.8414, 3.7433)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225A2D #5A224F
analogous
#335A22 #225A2D #225A49
triadic
#225A2D #2D225A #5A2D22
tetradic
#225A2D #22335A #5A224F #5A4922
square
#225A2D #22335A #5A224F #5A4922
split-complementary
#225A2D #49225A #5A2233
monochromatic
#08160B #112E17 #225A2D #338643 #44B359

Accessibility & contrast

On white

8.18
#225A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #225A2D
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225A2D#FFFFFF#000000##FFFFFF
##225A2D1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #225a2d;
/* rgb */ color: rgb(34, 90, 45);
/* oklch */ color: oklch(41.8% 0.094 147.7);
Tailwind
colors: {
  custom: {
    50: '#638967',
    500: '#225a2d',
    950: '#000000',
  },
}
SCSS
$custom: #225a2d;
$custom-light: #638967;
$custom-dark: #000000;
JSON
{
  "hex": "#225a2d",
  "rgb": {
    "r": 34,
    "g": 90,
    "b": 45
  },
  "hsl": {
    "h": 131.786,
    "s": 45.161,
    "l": 24.314
  },
  "oklch": {
    "l": 0.41805,
    "c": 0.09395,
    "h": 147.7
  },
  "luminance": 0.07842
}

Semantic roles & 50–950 ramp

primary
#225A2D
secondary
#8E4A81
accent
#53BBD5
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #225A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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