#225E2F#225E2F

#225E2F is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.098 H 148.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#225E2F
RGBrgb(34, 94, 47)
HSLhsl(133, 47%, 25%)
HSVhsv(133, 64%, 37%)
CMYKcmyk(63.8%, 0%, 50%, 63.1%)
CIE-LABlab(35.10, -30.76, 21.26)
CIE-LCHlch(35.10, 37.39, 145.36°)
OKLaboklab(43.01% -0.0832 0.0519)
OKLCHoklch(43.01% 0.098 148)
XYZxyz(5.1751, 8.5502, 4.0664)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225E2F #5E2251
analogous
#335E22 #225E2F #225E4D
triadic
#225E2F #2F225E #5E2F22
tetradic
#225E2F #22335E #5E2251 #5E4D22
square
#225E2F #22335E #5E2251 #5E4D22
split-complementary
#225E2F #4D225E #5E2233
monochromatic
#08160B #123119 #225E2F #328B45 #43B85C

Accessibility & contrast

On white

7.75
#225E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#225E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225E2F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225E2F#FFFFFF#000000##FFFFFF
##225E2F1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562B
Deuteranopia (green-blind)
#575032
Tritanopia (blue-blind)
#135C53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #225e2f;
/* rgb */ color: rgb(34, 94, 47);
/* oklch */ color: oklch(43.0% 0.098 148.0);
Tailwind
colors: {
  custom: {
    50: '#648c68',
    500: '#225e2f',
    950: '#000000',
  },
}
SCSS
$custom: #225e2f;
$custom-light: #648c68;
$custom-dark: #000000;
JSON
{
  "hex": "#225e2f",
  "rgb": {
    "r": 34,
    "g": 94,
    "b": 47
  },
  "hsl": {
    "h": 133,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4301,
    "c": 0.09805,
    "h": 148
  },
  "luminance": 0.08551
}

Semantic roles & 50–950 ramp

primary
#225E2F
secondary
#924A82
accent
#51BAD7
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #225E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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