#225F1E#225F1E

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

Color values

HEX#225F1E
RGBrgb(34, 95, 30)
HSLhsl(116, 52%, 25%)
HSVhsv(116, 68%, 37%)
CMYKcmyk(64.2%, 0%, 68.4%, 62.7%)
CIE-LABlab(35.24, -33.68, 30.54)
CIE-LCHlch(35.24, 45.46, 137.80°)
OKLaboklab(43.05% -0.0917 0.0709)
OKLCHoklch(43.05% 0.116 142.3)
XYZxyz(4.9860, 8.6178, 2.6287)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225F1E #5B1E5F
analogous
#435F1E #225F1E #1E5F3B
triadic
#225F1E #1E225F #5F1E22
tetradic
#225F1E #1E435F #5B1E5F #5F3B1E
square
#225F1E #1E435F #5B1E5F #5F3B1E
split-complementary
#225F1E #3B1E5F #5F1E43
monochromatic
#081707 #11300F #225F1E #338E2D #43BC3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##225F1E#FFFFFF#000000##FFFFFF
##225F1E1.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)
#615616
Deuteranopia (green-blind)
#5A5124
Tritanopia (blue-blind)
#185C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #225f1e;
/* rgb */ color: rgb(34, 95, 30);
/* oklch */ color: oklch(43.0% 0.116 142.3);
Tailwind
colors: {
  custom: {
    50: '#658d5d',
    500: '#225f1e',
    950: '#000000',
  },
}
SCSS
$custom: #225f1e;
$custom-light: #658d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#225f1e",
  "rgb": {
    "r": 34,
    "g": 95,
    "b": 30
  },
  "hsl": {
    "h": 116.308,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.43049,
    "c": 0.11593,
    "h": 142.3
  },
  "luminance": 0.08618
}

Semantic roles & 50–950 ramp

primary
#225F1E
secondary
#8F4594
accent
#4CDBD3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #225F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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