#225F1D#225F1D

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

Color values

HEX#225F1D
RGBrgb(34, 95, 29)
HSLhsl(115, 53%, 24%)
HSVhsv(115, 69%, 37%)
CMYKcmyk(64.2%, 0%, 69.5%, 62.7%)
CIE-LABlab(35.23, -33.79, 31.01)
CIE-LCHlch(35.23, 45.87, 137.46°)
OKLaboklab(43.04% -0.0921 0.0718)
OKLCHoklch(43.04% 0.117 142.1)
XYZxyz(4.9734, 8.6127, 2.5625)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225F1D #5A1D5F
analogous
#435F1D #225F1D #1D5F39
triadic
#225F1D #1D225F #5F1D22
tetradic
#225F1D #1D435F #5A1D5F #5F391D
square
#225F1D #1D435F #5A1D5F #5F391D
split-complementary
#225F1D #391D5F #5F1D43
monochromatic
#081707 #11300F #225F1D #338E2B #44BD3A

Accessibility & contrast

On white

7.71
#225F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#225F1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225F1D
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225F1D#FFFFFF#000000##FFFFFF
##225F1D1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615615
Deuteranopia (green-blind)
#5A5123
Tritanopia (blue-blind)
#185C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #225f1d;
/* rgb */ color: rgb(34, 95, 29);
/* oklch */ color: oklch(43.0% 0.117 142.1);
Tailwind
colors: {
  custom: {
    50: '#658d5c',
    500: '#225f1d',
    950: '#000000',
  },
}
SCSS
$custom: #225f1d;
$custom-light: #658d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#225f1d",
  "rgb": {
    "r": 34,
    "g": 95,
    "b": 29
  },
  "hsl": {
    "h": 115.455,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.43038,
    "c": 0.11677,
    "h": 142.1
  },
  "luminance": 0.08613
}

Semantic roles & 50–950 ramp

primary
#225F1D
secondary
#8E4494
accent
#4BDDD2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #225F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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